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 Makundi (JIRA)" <ji...@apache.org> on 2009/02/19 19:26:02 UTC
[jira] Commented: (WICKET-2114) WicketTester fails to execute
AjaxBehavior (onclick) due to old requestCycle (this bug is caused by
bugfix WICKET-254)
[ https://issues.apache.org/jira/browse/WICKET-2114?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12675079#action_12675079 ]
Martin Makundi commented on WICKET-2114:
----------------------------------------
To be precise: the ajax event does not fail in the test, but the requestCycleProcessor will think it is a bookmarkable page and it will re-instantiate the whole page.. so the AJAX fails.
> WicketTester fails to execute AjaxBehavior (onclick) due to old requestCycle (this bug is caused by bugfix WICKET-254)
> ----------------------------------------------------------------------------------------------------------------------
>
> Key: WICKET-2114
> URL: https://issues.apache.org/jira/browse/WICKET-2114
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.4-RC2
> Reporter: Martin Makundi
> Attachments: Wicket-Quickstart.zip
>
> Original Estimate: 5h
> Remaining Estimate: 5h
>
> WicketTester fails to execute AjaxBehavior (onclick) due to old requestCycle. This bug results from bugfix WICKET-254 (http://issues.apache.org/jira/browse/WICKET-254)
> See attached Quickstart
> Known workaround:
> // Add following line before your tester.executeAjaxEvent:
> tester.setupRequestAndResponse(true);
> @see
> http://issues.apache.org/jira/browse/WICKET-254
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.