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

Martín Bigio updated WICKET-2551:
---------------------------------

    Attachment: QuickStart.zip

> Bug in WicketTester when submitting forms
> -----------------------------------------
>
>                 Key: WICKET-2551
>                 URL: https://issues.apache.org/jira/browse/WICKET-2551
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4.1, 1.4.2, 1.4.3
>            Reporter: Martín Bigio
>             Fix For: 1.4.4
>
>         Attachments: QuickStart.zip
>
>
> When submitting a form in a test using WicketTester for an Application that 
> has a RequestCycleProcessor that uses the CryptedUrlWebRequestCodingStrategy, 
> Wicket redirects to the HomePage. It seems that WicketTester can't figure out 
> wich component actually submits the form  because PageParameter "path" is 
> undefined, so it decides to redirect to the HomePage. This can be checked in 
> WebRequestCycleProcessor#resolve(RequestCycle, RequestParameters).
> The attached QuickStart reproduces the bug. After fixing it, the 
> TestOtherPage test should pass.

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