You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Emond Papegaaij (JIRA)" <ji...@apache.org> on 2012/08/27 15:30:07 UTC
[jira] [Created] (WICKET-4733) AjaxSelfUpdatingTimerBehavior on
unversioned page keeps triggering StalePageException when multiple tabs
open
Emond Papegaaij created WICKET-4733:
---------------------------------------
Summary: AjaxSelfUpdatingTimerBehavior on unversioned page keeps triggering StalePageException when multiple tabs open
Key: WICKET-4733
URL: https://issues.apache.org/jira/browse/WICKET-4733
Project: Wicket
Issue Type: Bug
Components: wicket
Affects Versions: 1.5.8, 6.0.0
Reporter: Emond Papegaaij
Attachments: quickstart.tar.gz
When an AjaxSelfUpdatingTimerBehavior is used on an unversioned page, and the user opens the same page in a second tab, both pages will keep triggering StalePageExceptions. The following sequence of events occurs:
Tab 1 opens page (render count = 1)
Tab 2 opens page (render count = 2)
Tab 1 triggers Ajax update for rc=1, which triggers a StalePageException
Tab 1 gets redirected to a fresh page (render count = 3)
Tab 2 triggers Ajax update for rc=2, which triggers a StalePageException
Tab 2 gets redirected to a fresh page (render count = 4)
Tab 1 triggers Ajax update, etc, etc.
The attached quickstart demonstrates this problem. Open the home page, open the same url (with ?0) in a second tab. This will kill the refresher on the first tab. Now reload the first tab and both pages will keep refresh in an endless loop.
--
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
[jira] [Updated] (WICKET-4733) AjaxSelfUpdatingTimerBehavior on
unversioned page keeps triggering StalePageException when multiple tabs
open
Posted by "Emond Papegaaij (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-4733?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emond Papegaaij updated WICKET-4733:
------------------------------------
Attachment: quickstart.tar.gz
> AjaxSelfUpdatingTimerBehavior on unversioned page keeps triggering StalePageException when multiple tabs open
> -------------------------------------------------------------------------------------------------------------
>
> Key: WICKET-4733
> URL: https://issues.apache.org/jira/browse/WICKET-4733
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.5.8, 6.0.0
> Reporter: Emond Papegaaij
> Attachments: quickstart.tar.gz
>
>
> When an AjaxSelfUpdatingTimerBehavior is used on an unversioned page, and the user opens the same page in a second tab, both pages will keep triggering StalePageExceptions. The following sequence of events occurs:
> Tab 1 opens page (render count = 1)
> Tab 2 opens page (render count = 2)
> Tab 1 triggers Ajax update for rc=1, which triggers a StalePageException
> Tab 1 gets redirected to a fresh page (render count = 3)
> Tab 2 triggers Ajax update for rc=2, which triggers a StalePageException
> Tab 2 gets redirected to a fresh page (render count = 4)
> Tab 1 triggers Ajax update, etc, etc.
> The attached quickstart demonstrates this problem. Open the home page, open the same url (with ?0) in a second tab. This will kill the refresher on the first tab. Now reload the first tab and both pages will keep refresh in an endless loop.
--
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