Problem with displaying expired page.
-------------------------------------

                 Key: WICKET-2346
                 URL: https://issues.apache.org/jira/browse/WICKET-2346
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.4-RC5
            Reporter: Pawel Wach


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.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to