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

PageParameters missing from re-created Page

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 6.4.0
    • 7.0.0-M1
    • wicket
    • None
    • All

    Description

      WICKET-4594 removes existing PageParameters when re-creating an expired page.

      It does this under the assumption that the parameters are not needed for callback behavior that must not be executed after expiry.

      However PageParameters are needed even without execution of callback behavior.

      In trivial cases, a page cannot be re-constructed successfully without PageParameters e.g. a view page for a customer order needs the order ID from its PageParameters.

      There is a bit of an irony about this. To improve the recovery behavior, i.e. to avoid the dreaded PageExpiryException, one needs to create some client state which is then lost on re-creation after expiry.

      Attachments

        1. wicket-5068.patch
          4 kB
          Sven Meier

        Issue Links

          Activity

            People

              mgrigorov Martin Tzvetanov Grigorov
              bht@actrix.gen.nz bernard
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: