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

Problem with displaying expired page.

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4-RC5
    • Fix Version/s: 1.4-RC7
    • Component/s: wicket
    • Labels:
      None

      Description

      PageExpiredError Page is not displayed any more. I'm getting error page containing apache.wicket.protocol.http.request.InvalidUrlException instead.

      In WebRequestCycleProcessor.resolve() method, when PageExpiredException is thrown, it is wrapped with InvalidUrlException. Because of that this exception can't be identified in AbstractRequestCycleProcessor.respond(...) and as the result expired page is not shown.

      If I understand the code well, the recently added try-catch block which is responsible for wrapping every WicketRuntimeException with InvalidUrlException seems to be a problem here.

        Attachments

          Activity

            People

            • Assignee:
              ivaynberg Igor Vaynberg
              Reporter:
              wahu Pawel Wach

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment