Description
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.
Attachments
Attachments
Issue Links
- duplicates
-
WICKET-2339 Fix : testSignIn2(org.apache.wicket.examples.signin2.Signin2Test)
- Resolved