You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Pedro Santos (JIRA)" <ji...@apache.org> on 2013/01/09 21:02:13 UTC

[jira] [Commented] (WICKET-4932) Mounted page is not throwing ExpireException with setting setRecreateMountedPagesAfterExpiry(false)

    [ https://issues.apache.org/jira/browse/WICKET-4932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13548928#comment-13548928 ] 

Pedro Santos commented on WICKET-4932:
--------------------------------------

Hi Thijs, thx for reporting. It's should be already fixed at the master. Keeping the ticket opened since there are room for improvements at Wicket mappers.
                
> 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
>            Assignee: Pedro Santos
>         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