[
https://issues.apache.org/jira/browse/WICKET-5043?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13691520#comment-13691520
]
Cedric Gatay commented on WICKET-5043:
--------------------------------------
It seems to be related to
org.apache.wicket.core.request.mapper.PackageMapper#pageMustHaveBeenCreatedBookmarkable,
if I change the code returning false I got the same url when using
PackageMapper or MountedMapper. Otherwise,
org.apache.wicket.core.request.mapper.PackageMapperTest#encode5 now fails, and
I don't understand its exact mean. Can someone with a correct background help
me with this one ?
> Page not bookmarkable with WebApplication#mountPackage
> ------------------------------------------------------
>
> Key: WICKET-5043
> URL: https://issues.apache.org/jira/browse/WICKET-5043
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 6.4.0
> Environment: java 1.7, glassfish-3.1.2.2
> Reporter: bernard
> Attachments: AJAX_TestCase.zip, testcase.zip
>
>
> A bookmarkable page FormPage is mounted via WebApplication#mountPackage().
> If this page is opened via IModel model; setResponsePage(new FormPage(IModel
> model)); then the URL is /wicket/page?0 which is not bookmarkable.
> If the page is mounted via WebApplication#mountPage() then the URL is
> bookmarkable as expected.
> If the page is not bookmarkable then the users get PageExpiredException which
> in this case is unrecoverable.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira