[ 
https://issues.apache.org/jira/browse/WICKET-3992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13096955#comment-13096955
 ] 

Andrea Del Bene commented on WICKET-3992:
-----------------------------------------

The new quick start gives the exception also under Tomcat. 
The problem seems to be related to 
BookmarkablePageRequestTargetUrlCodingStrategy registered by TestApplication.  
When we click link after session is expired, Wicket searches for target page 
analyzing link ref URL and it finds that a bookmarkable page (MenuPage) is 
mounted on link URL (/menu). 
At this point a new MenuPage is created and used as target page but link 
component path is not found.

> 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: 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

        

Reply via email to