form parameters which should be submitted using POST are added to url after 
first display of feedback messages 
---------------------------------------------------------------------------------------------------------------

                 Key: WICKET-4400
                 URL: https://issues.apache.org/jira/browse/WICKET-4400
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 6.0.0
         Environment: 6.0 trunk, OS X, Chrome
            Reporter: Peter Ertl
            Priority: Blocker


this bug is _really_ weird...

quickest way to reproduce is do the following:

$> cd /wicket/wicket-examples
$> mvn jetty:run

- click the 'forminput - Basic form processing.' example

- click 'save'

(notice that there will be a feedback message displayed below)

- click 'save' again

the url will look like this:
http://localhost:8080/forminput/?4&doubleProperty=20.5&idc_hf_0&integerProperty=100&saveButton=save&stringProperty=test&localeSelect=0&multiply:right=0&lines:1:lineEdit=line+two&multiply:left=0&lines:2:lineEdit=line+three&numberRadioChoice=0&lines:0:lineEdit=line+one&urlProperty=http://wicket.apache.org&integerInRangeProperty=50&phoneNumberUS=%28123%29+456-1234

Obviously the result from getting the POST parameters being added to the url

I also did a small sample with the same result...

My current summary is:

Once a feedback message is displayed the url will look get spoiled on the 
subsequent request.

I consider this a bug since the form parameters should be submitted using POST, 
not GET.

I consider this a blocker as this should actually crash all apps that use a 
form and feedback messages and there's no obvious workaround...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to