You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Hugo Palma (JIRA)" <ji...@apache.org> on 2013/03/15 14:46:12 UTC
[jira] [Commented] (TAP5-2079) When the application operates
without a context path, asset URLs are incorrectly formed
[ https://issues.apache.org/jira/browse/TAP5-2079?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13603377#comment-13603377 ]
Hugo Palma commented on TAP5-2079:
----------------------------------
Actually, i don't think it is.
At least with the latest SNAPSHOT (tapestry-core-5.4-20130315.004223-48) it isn't.
The problem seems to be located in the PathConstructorImpl class.
If the contextPath is "/" then the clientPrefix will be set to "//" because:
clientPrefix = contextPath + dispatchPrefix
and dispatchPrefix is "/" by default.
> When the application operates without a context path, asset URLs are incorrectly formed
> ---------------------------------------------------------------------------------------
>
> Key: TAP5-2079
> URL: https://issues.apache.org/jira/browse/TAP5-2079
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.4
> Reporter: Hugo Palma
> Assignee: Howard M. Lewis Ship
> Priority: Critical
> Fix For: 5.4
>
>
> If the application has no context path then all asset urls start with //assets which is wrong and results in no asset being loaded.
--
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