[
https://issues.apache.org/jira/browse/WICKET-3992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13105489#comment-13105489
]
Andrea Del Bene commented on WICKET-3992:
-----------------------------------------
A possible fix is to check inside 'WebRequestCycleProcessor.resolve' if
'requestParameters.getInterfaceName' is different from 'ILinkListener' before
looking for mounted path.
I know this could seem more like a hack then a fix, but I didn't find a way to
recognize when a link is clicked and session is expired. Anyway, this fix
solves issue problem and passes all 1.4.x tests.
> Link crashes on Page Expiry
> ---------------------------
>
> Key: WICKET-3992
> URL: https://issues.apache.org/jira/browse/WICKET-3992
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.4.18
> Environment: java version "1.6.0_25"
> Java(TM) SE Runtime Environment (build 1.6.0_25-b06)
> Java HotSpot(TM) Client VM (build 20.0-b11, mixed mode, sharing)
> Reporter: bernard
> Attachments: WICKET-3992.patch, myproject.zip, testcase.zip
>
>
> It appears one cannot get a PageExpiredException when clicking on a link on
> the expired page.
> Please refer to the attached testcase - navigate to ListPage and let it
> expire after > 1 minute. Then click on one of the links.
> The perplexing part is that the links contain references to the menu page
> (not the list page as expected):
> http://localhost:8080/myproject-1.0-SNAPSHOT/menu?wicket:interface=:0:detail::ILinkListener::
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira