You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2009/10/29 21:15:59 UTC
[jira] Commented: (WICKET-2551) Bug in WicketTester when submitting
forms
[ https://issues.apache.org/jira/browse/WICKET-2551?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12771588#action_12771588 ]
Martin Grigorov commented on WICKET-2551:
-----------------------------------------
Looks related to WICKET-2339
> 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.