[ 
https://issues.apache.org/jira/browse/WICKET-4036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13103045#comment-13103045
 ] 

bernard commented on WICKET-4036:
---------------------------------

Sorry, I should have mounted the page:

mountPage("testFormParameters", TestPageFormParameters.class);

My idea (to break it) was to use the same URL (GET) parameter name as one the 
form field names. Then there is a clash. I guess this could potentially be 
avoided with a distinction via 
org.apache.wicket.request.Request#getPostParameters, #getQueryParameters but I 
might be wrong.

In 1.5-RC7, this works at the 2nd time when the parameters are no longer in the 
browsers URL bar. I really don't know what is going on.

> Confusion with Get Parameter Name same as Form Field Name
> ---------------------------------------------------------
>
>                 Key: WICKET-4036
>                 URL: https://issues.apache.org/jira/browse/WICKET-4036
>             Project: Wicket
>          Issue Type: Sub-task
>          Components: wicket
>    Affects Versions: 1.5-RC7
>         Environment: Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
> Java HotSpot(TM) Client VM (build 20.0-b11, mixed mode, sharing)
> Server: GlassFish 3.1.1 
>            Reporter: bernard
>             Fix For: 1.5.1
>
>         Attachments: ExpiryFallbackParametersQuickStart1.5.zip
>
>
> I could verify that recovery after expiry works with parameters after the fix 
> from issue 4014. This is more than what I could achieve with 1.4. After some 
> more testing I found It breaks with the attached testcase where the GET 
> parameter has the same name as the form field. I don't know whether this is 
> out of scope.
> Please use the link "Expiry Recovery Form with Parameters Test". In the code 
> TestPageFormParameters.html, TestPageFormParameters.java, I have commented 
> out the version that works and replaced it with the bad one.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to