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

Igor Vaynberg resolved WICKET-2551.
-----------------------------------

    Resolution: Duplicate
      Assignee: Igor Vaynberg

for now you will have to disable the crypted url coding strategy during your 
tests to get it to work.

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