[ 
https://issues.apache.org/jira/browse/WICKET-3272?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pedro Santos updated WICKET-3272:
---------------------------------

    Attachment: WICKET-3272-test-fix.patch

Problem 1: AbstractComponentMapper is relying on the fact that the first query 
parameters is the one that will correctly resolve the PageComponentInfo. It is 
not a good idea to trust on this sequence since the ULR query parameters string 
can be assembled in a different way.
Problem 2: MockHttpServletRequest is losing the query parameters set by 
WicketTester user when set an URL. Users parameters set on request to be tested 
should be maintained since their tests can depend on it.

Maybe those problems are not rely a problem. But if so, how can those tests 
attached work?

> Set an request parameter on Wicket tester do not add it in the request URL
> --------------------------------------------------------------------------
>
>                 Key: WICKET-3272
>                 URL: https://issues.apache.org/jira/browse/WICKET-3272
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5-M3
>            Reporter: Pedro Santos
>         Attachments: WICKET-3272-test-fix.patch
>
>
> When submitting an form, the parameters set in request do not get appended to 
> the URL query string.
> Initial impression is that UrlRender should append query parameters in the 
> base URL on relatives URL.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to