[
https://issues.apache.org/jira/browse/WICKET-4932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thijs Vonk updated WICKET-4932:
-------------------------------
Attachment: sessiontimeout.zip
Run the quickstart. Follow the links to page three. Wait there for a minute and
hit a backbutton. An exception is thrown. But it's not the page expired
exception, but a runtime exception telling you that you accessed the
bookmarkable page without the correct page parameters
> Mounted page is not throwing ExpireException with setting
> setRecreateMountedPagesAfterExpiry(false)
> ---------------------------------------------------------------------------------------------------
>
> Key: WICKET-4932
> URL: https://issues.apache.org/jira/browse/WICKET-4932
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 6.4.0
> Reporter: Thijs Vonk
> Attachments: sessiontimeout.zip
>
>
> We have a page that is both bookmarkable (and accessible with certain page
> parameters) and has a second constructor taking an object.
> When ever the session time-out we want to show a session expired page. But we
> get a exception because Wicket is trying to rebuild the page with no page
> parameters.
> We have set the setting
> getPageSettings().setRecreateMountedPagesAfterExpiry(false); This works when
> clicking on (ajax)links, but it's not working when using the back/forward
> button in the browser (or javascript:history.go(-1)).
> I'll attache a quickstart.
--
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