You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Peter Ertl (Created) (JIRA)" <ji...@apache.org> on 2012/02/08 23:04:59 UTC

[jira] [Created] (WICKET-4400) form parameters which should be submitted using POST are added to url after first display of feedback messages

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

        

[jira] [Updated] (WICKET-4400) form parameters which should be submitted using POST are added to url after first display of feedback messages

Posted by "Peter Ertl (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Ertl updated WICKET-4400:
-------------------------------

    Comment: was deleted

(was: I know about that commit since I committed it :-)

Unfortunately it just makes the effect visible since feedback panel did not show any messages before that (except the messages related to the panel itself which is usually never). The real problem is buries somewhere deeper...)
    
> 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

        

[jira] [Updated] (WICKET-4400) form parameters which should be submitted using POST are added to url after first display of feedback messages

Posted by "Peter Ertl (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Ertl updated WICKET-4400:
-------------------------------

    Description: 
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...

  was:
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 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...

    
> 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

        

[jira] [Commented] (WICKET-4400) form parameters which should be submitted using POST are added to url after first display of feedback messages

Posted by "Peter Ertl (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-4400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13204436#comment-13204436 ] 

Peter Ertl commented on WICKET-4400:
------------------------------------

I know about that commit since I committed it :-)

Unfortunately it just makes the effect visible since feedback panel did not show any messages before that (except the messages related to the panel itself which is usually never). The real problem is buries somewhere deeper...
                
> 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

        

[jira] [Assigned] (WICKET-4400) form parameters which should be submitted using POST are added to url after first display of feedback messages

Posted by "Emond Papegaaij (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emond Papegaaij reassigned WICKET-4400:
---------------------------------------

    Assignee: Igor Vaynberg
    
> 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
>            Assignee: Igor Vaynberg
>            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

        

[jira] [Commented] (WICKET-4400) form parameters which should be submitted using POST are added to url after first display of feedback messages

Posted by "Emond Papegaaij (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-4400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13204359#comment-13204359 ] 

Emond Papegaaij commented on WICKET-4400:
-----------------------------------------

The commit that broke this is:
76e1663d0b73f605dc55f519a92b474eab237538 WICKET-499 WICKET-2705 feedback storage refactoring.

The problem seems to be even worse. In our app, we always display a feedback message on our login page, and this is causing the login page to not work at all. I can't login anymore and the username and password are shown in the url after pressing 'login'.
                
> 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

        

[jira] [Commented] (WICKET-4400) form parameters which should be submitted using POST are added to url after first display of feedback messages

Posted by "Martin Grigorov (Commented) (JIRA)" <ji...@apache.org>.
    [ 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

        

[jira] [Updated] (WICKET-4400) form parameters which should be submitted using POST are added to url after first display of feedback messages

Posted by "Peter Ertl (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Peter Ertl updated WICKET-4400:
-------------------------------

    Description: 
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 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...

  was:
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...

    
> 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 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

        

[jira] [Commented] (WICKET-4400) form parameters which should be submitted using POST are added to url after first display of feedback messages

Posted by "Emond Papegaaij (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/WICKET-4400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13204743#comment-13204743 ] 

Emond Papegaaij commented on WICKET-4400:
-----------------------------------------

I've found the real cause of the problem: the cleanup of the feedbackmessages (called during detach) increments the page version. This causes the page to be stored under a version that does not correspond to the versions in the urls rendered on the page. Any url clicked or behavior triggered will cause a page expiry, after which the page is reconstructed and the form parameters are added as page parameters.

Commenting out addStateChange() in Component.detachFeedback() (line 1204) fixes the problem.
                
> 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

        

[jira] [Resolved] (WICKET-4400) form parameters which should be submitted using POST are added to url after first display of feedback messages

Posted by "Igor Vaynberg (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-4400?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg resolved WICKET-4400.
-----------------------------------

    Resolution: Fixed
    
> 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
>            Assignee: Igor Vaynberg
>            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