Issue 74484 - HTTP POST form submission not working
Summary: HTTP POST form submission not working
Status: CLOSED FIXED
Alias: None
Product: Writer
Classification: Application
Component: code (show other issues)
Version: OOo 2.1
Hardware: All All
: P3 Trivial (vote)
Target Milestone: ---
Assignee: marc.neumann
QA Contact: issues@sw
URL:
Keywords: oooqa
Depends on:
Blocks:
 
Reported: 2007-02-13 12:32 UTC by lo
Modified: 2013-08-07 14:41 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
document to reproduce the bug case (7.33 KB, application/vnd.oasis.opendocument.text)
2007-02-28 15:05 UTC, Frank Schönheit
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description lo 2007-02-13 12:32:06 UTC
When a form has a http-post submit action, the form data is not sent to the
action url but opened as a new document.

Looking at the code reveals, that the submission impl makes a dispatch call to
the actionURL with the form data in an argument called PostData. The frameworks
handles this by opening the data in PostData as a new document. 

I don't know whether this must be fixed in the framework or in the form layer.
Comment 1 Frank Schönheit 2007-02-13 12:51:14 UTC
putting into 2.x pool
Comment 2 lo 2007-02-22 10:39:01 UTC
As discussed, putting back to 2.3 target, might become 2.2.1
Comment 3 Frank Schönheit 2007-02-28 15:05:41 UTC
Created attachment 43439 [details]
document to reproduce the bug case
Comment 4 Frank Schönheit 2007-02-28 15:08:21 UTC
The attached allows to reproduce the bug case: Enter "ToDo" in the search box,
and press the search button.
Expected result:
  The OOo-Wiki-search page is opened in a new OOo document window, with the
  search text "ToDo".
Actual result:
  A cryptic text is opened in a new OOo document window (actually the post
  parameters).
Comment 5 Frank Schönheit 2007-02-28 15:23:23 UTC
submitted follow-up issue 74980, since re-directed POSTs still do not work,
which is a different problem.
Fixed this issue here in CWS dba23a:
comphelper/inc/comphelper/mediadescriptor.hxx 1.10.78.1
comphelper/source/misc/mediadescriptor.cxx 1.14.46.1
Comment 6 Frank Schönheit 2007-03-07 08:46:22 UTC
submitted another follow-up issue: issue 75191.
Comment 7 Frank Schönheit 2007-03-21 14:33:24 UTC
fs-> msc: please verify in CWS dba23a
Comment 8 Joost Andrae 2007-03-26 14:16:40 UTC
changing target to 2.2.1
Comment 9 Frank Schönheit 2007-04-01 19:58:04 UTC
fs->ja,mba: I submitted two follow-up issues after fixing this one here, issue
74980 and issue 75191. They also contribute to the "HTTP POST" experience (one
talks about POSTs not working in case of redirects, which might be pretty
common, and the other about *two* POSTs issued all the time, while one would be
sufficient).

Please check whether those issues also deserve the new target.
Comment 10 Frank Schönheit 2007-04-01 21:51:22 UTC
copied fix to CWS dba221a:
comphelper/inc/comphelper/mediadescriptor.hxx 1.10.84.1
comphelper7source/misc/mediadescriptor.cxx 1.14.52.1
Comment 11 Joost Andrae 2007-04-02 09:50:38 UTC
adding mh to cc list.

JA->MH: Do you have any concerns regarding a 2.2.1 target for
http://www.openoffice.org/issues/show_bug.cgi?id=74980 and
http://www.openoffice.org/issues/show_bug.cgi?id=75191  ?
Comment 12 Mathias_Bauer 2007-04-02 10:22:12 UTC
I think that issue 74980 
can wait for 2.3, AFAIK this never worked correctly and obviously this doesn't
create a big problem for our users.
I'm unsure about 75191 but also don't think that this bug is so ugly that it
can't wait for 2.3.

Comment 13 Frank Schönheit 2007-04-18 09:13:52 UTC
fs-> msc: please verify in CWS dba221a
Comment 14 marc.neumann 2007-04-23 09:32:41 UTC
verified in CWS dba221a

find more information about this CWS, like when it is available in the master
builds, in EIS, the Environment Information System:
http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=OOF680%2Fdba221a
Comment 15 ace_dent 2008-05-16 03:29:17 UTC
This Issue is 'Verified' and not updated in 1yr+, so Closing.
A Closed Issue is a Happy Issue (TM).

Regards,
Andrew
 
Cleaning-up and Closing old Issues as part of:
~ The Grand Bug Squash, pre v3 ~