You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Igor Vaynberg (JIRA)" <ji...@apache.org> on 2010/08/29 17:55:53 UTC
[jira] Resolved: (WICKET-2266) Navigating a link in a
StatelessForm's submit using WicketTester results in PageExpiredErrorPage
[ https://issues.apache.org/jira/browse/WICKET-2266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg resolved WICKET-2266.
-----------------------------------
Assignee: Igor Vaynberg
Fix Version/s: 1.5-M1
Resolution: Fixed
> Navigating a link in a StatelessForm's submit using WicketTester results in PageExpiredErrorPage
> ------------------------------------------------------------------------------------------------
>
> Key: WICKET-2266
> URL: https://issues.apache.org/jira/browse/WICKET-2266
> Project: Wicket
> Issue Type: Bug
> Affects Versions: 1.4-RC2
> Environment: Ubuntu 9.04, Sun JDK 1.6.0_12, Tomcat 6.0.18
> Reporter: Andrii Neverov
> Assignee: Igor Vaynberg
> Priority: Minor
> Fix For: 1.5-M1
>
> Attachments: ReproApp.zip
>
>
> I'm writing a unit test using WicketTester which:
> 1) starts from a bookmarkable page containing StatelessForm
> 2) fills 2 fields, submits the form and sends response to the second page
> 3) tries to navigate a link on the second page which point to a third page
> the issue is that asserting the third page I get junit.framework.AssertionFailedError: expected:<AddUserPage> but was:<PageExpiredErrorPage>.
> The code works fine in Tomcat and Jetty.
> The unit test also passes if:
> 1) I use Form instead of StatelessForm
> or
> 2) Use BookmarkablePageLink instead of Link.
> It looks like there is some problem with wickettester+stateless->stateful.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.