tapestry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hugo Palma (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (TAP5-2079) When the application operates without a context path, asset URLs are incorrectly formed
Date Fri, 15 Mar 2013 13:46:12 GMT

    [ 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

Mime
View raw message