Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-4932

Mounted page is not throwing ExpireException with setting setRecreateMountedPagesAfterExpiry(false)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 6.4.0
    • None
    • wicket
    • None

    Description

      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.

      Attachments

        1. sessiontimeout.zip
          25 kB
          Thijs Vonk

        Activity

          People

            pedrosans Pedro Santos
            thyzz Thijs Vonk
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: