You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "J (JIRA)" <ji...@apache.org> on 2012/07/05 21:49:35 UTC
[jira] [Updated] (WICKET-4639) Make RequestUtils.toAbsolutepath
generate correct url for BookMarkablePages that havn't had mountPages set
[ https://issues.apache.org/jira/browse/WICKET-4639?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
J updated WICKET-4639:
----------------------
Attachment: wicketchart.zip
Example to reproduce.
Run and click on a chart.The path will fail after click. Uncomment the mountPage in *Application and repeat the same as first time. It will now work. It seems the the RequestUtils.toAbsolutePath cuts a bit to much from the path IF the mountpage havn't been set.
> Make RequestUtils.toAbsolutepath generate correct url for BookMarkablePages that havn't had mountPages set
> ----------------------------------------------------------------------------------------------------------
>
> Key: WICKET-4639
> URL: https://issues.apache.org/jira/browse/WICKET-4639
> Project: Wicket
> Issue Type: Improvement
> Components: wicket
> Affects Versions: 1.5.7
> Environment: Linux x86_64, jetty
> Reporter: J
> Attachments: wicketchart.zip
>
>
> When using RequestUtils,toAbsolutePath it will generate bad urls if the page the sent the request was a bookmarkablepage that hadn't been mapped with mountPage.Same example works when mapped with mountPage. I have prepared a quickstart example.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira