[
https://issues.apache.org/jira/browse/WICKET-3992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13091427#comment-13091427
]
bernard commented on WICKET-3992:
---------------------------------
I have attached a new quickstart which is a little clearer, and wicket is
mounted at /test.
It reproduces always when deployed on the latest version of GlassFish 3.1.1
which is what we use for development and production.
Would it be possible that you deploy this on GlassFish or may be you can run
Jetty to run without problems?
In my case Start.java runs ok and I get the first pages but Jetty does not
respond when I click on the link to the List page.
In my case, the GlassFIsh URL is:
http://localhost:8080/myproject-1.0-SNAPSHOT/test/
I click until I get to the list page. Then I reload because in some cases I get
;jsessionid in the URL.
The first link on the list page has the URL:
http://localhost:8080/myproject-1.0-SNAPSHOT/test/menu?wicket:interface=:0:detail::ILinkListener::
which after expiry crashes as follows:
org.apache.wicket.WicketRuntimeException: unable to find component with path
detail on stateless page [Page class = com.mycompany.MenuPage, id = 0, version
= 0] it could be that the component is inside a repeater make your component
return false in getStatelessHint()
at
org.apache.wicket.request.target.component.BookmarkableListenerInterfaceRequestTarget.processEvents(BookmarkableListenerInterfaceRequestTarget.java:148)
> 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