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 2013/01/07 16:32:16 UTC

[jira] [Resolved] (WICKET-4912) Empty AjaxRequest due to StalePageException

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

Martin Grigorov resolved WICKET-4912.
-------------------------------------

    Resolution: Not A Problem

The problem is that you cache urls which are generated dynamically depending on the page state.
Just don't do that. Ask the behavior to calculate its callback url when needed.
                
> Empty AjaxRequest due to StalePageException
> -------------------------------------------
>
>                 Key: WICKET-4912
>                 URL: https://issues.apache.org/jira/browse/WICKET-4912
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 6.3.0
>            Reporter: Paul
>         Attachments: 4912.tgz, nofix.zip
>
>
> Using the same quickstart as in Wicket-3252 (only updated wicket to 6.3.0) there is an StalePageException leding to an empty AjaxResponse.
> How to reproduce:
> 1. Click on the popup link. New window is opened.
> 2. In the originating window, click Ajax Link and error occurs

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira