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

Recovery of bookmarkable Page after Session Expiry

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • 6.4.0
    • None
    • wicket
    • None
    • Java 7, GlassFish 3.1.2.2

    Description

      Some efforts were made since 1.5 to reduce occurrences of PageExpiredException or at least the impact of it.

      Please see WICKET-4014

      With Wicket 6.4.0 it appears that a simple test case does not produce the expected results.

      The attached quickstart tests a page containing a form. The page does not have any meaningful state.

      Therefore, after session expiry Wicket should call the default constructor and execute form submit or link onclick without any problems.

      There is no difference in outcome that could be expected before and after expiry.

      In real life, if the page was constructed with an IModel constructor, of course the model would not exist after expiry but that could be handled in the default constructor that is called after expiry.

      Attachments

        1. Testcase.zip
          11 kB
          bernard

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bht@actrix.gen.nz bernard
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: