Wicket
  1. Wicket
  2. WICKET-1299

HybridUrlCodingStrategy should throw a PageExpiredException if a RequestListenerInterface is targeted on a non-existent page-id/version

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.3.0-final
    • Fix Version/s: 1.3.1
    • Component/s: wicket
    • Labels:
      None

      Description

      let's assume MyPage.class is mounted on /page and at some point the user is on /page.1.3
      if a click on a Link on that page, which results in a relative url "?wicket:interface..." but is ultimately sent to "/page.1.3?wicket:interface...", is clicked after a session timeout,
      the request is silently redirected to "/page.0" and the link callback is not processed.

      fix:
      before creating a new instance of a HybridBookmarkableRequestTarget, HybridUrlCodingStrategy should check if a RequestListenerInterface is present on the last request and throw a PageExpiredException if this is the case.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Gerolf Seitz
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development