HybridUrlCodingStrategy should throw a PageExpiredException if a
RequestListenerInterface is targeted on a non-existent page-id/version
---------------------------------------------------------------------------------------------------------------------------------------
Key: WICKET-1299
URL: https://issues.apache.org/jira/browse/WICKET-1299
Project: Wicket
Issue Type: Improvement
Components: wicket
Affects Versions: 1.3.0-final
Reporter: Gerolf Seitz
Priority: Minor
Fix For: 1.3.1
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.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.