[
https://issues.apache.org/jira/browse/WICKET-4400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13204513#comment-13204513
]
Martin Grigorov commented on WICKET-4400:
-----------------------------------------
I'm not sure why git bisect says that FeedbackMessages change is the cause.
The real cause is WICKET-4338 which reads POST params and puts them in Page's
PageParameters. Later when WebPageRenderer creates the targetUrl it uses them
and puts them in the created URL.
Maybe PageParameters should be extended to keep a separate structure for POST
params which should be ignored for Url generation.
> 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
> Labels: feedback, get, message, parameters, post, url
>
> 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 quickstart example with a similar 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 blocker as this should actually crash all apps urls 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