You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by "Howard M. Lewis Ship (JIRA)" <de...@tapestry.apache.org> on 2007/11/28 22:17:43 UTC

[jira] Closed: (TAPESTRY-1896) Paths wrong for context assets in root context.

     [ https://issues.apache.org/jira/browse/TAPESTRY-1896?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Howard M. Lewis Ship closed TAPESTRY-1896.
------------------------------------------

    Resolution: Invalid
      Assignee: Howard M. Lewis Ship

I've updated the tests to prove that this is not valid.  It may be that I misunderstood the problem, if so please re-open and provide an example that shows the broken behavior.

> Paths wrong for context assets in root context.
> -----------------------------------------------
>
>                 Key: TAPESTRY-1896
>                 URL: https://issues.apache.org/jira/browse/TAPESTRY-1896
>             Project: Tapestry
>          Issue Type: Bug
>          Components: Framework
>    Affects Versions: 5.0.6
>         Environment: Java 5, MacOS X 10.5, Jetty 6.1.
>            Reporter: Kevin Menard
>            Assignee: Howard M. Lewis Ship
>
> Calling asset.getResource().getPath() on a context asset in a webapp mapped to the root context yields an incorrect path.  The path does not have the leading "/", which represents the context.  As a result, linked in assets (e.g., CSS or images) will work fine if at the root level of the webapp, but if you go down to a deeper level, the asset path doesn't work and Tapestry thinks you're trying to load in non-existent pages.
> When mapped to any other context, there is no problem.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org