bernard created WICKET-5043:
-------------------------------

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

Reply via email to