You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Bernard (Jira)" <ji...@apache.org> on 2020/07/19 12:17:00 UTC
[jira] [Commented] (WICKET-4036) Confusion with Get Parameter Name
same as Form Field Name
[ https://issues.apache.org/jira/browse/WICKET-4036?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17160658#comment-17160658 ]
Bernard commented on WICKET-4036:
---------------------------------
The attachment GetPostParametersConfused.zip contains a test case for the problem. Was apparently fixed in Wicket version 6.22.0 4 years later.
> 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
> Priority: Major
> Attachments: ExpiryFallbackParametersQuickStart1.5.zip, GetPostParametersConfused.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 was sent by Atlassian Jira
(v8.3.4#803005)