[
https://issues.apache.org/jira/browse/TAPESTRY-2035?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Howard M. Lewis Ship reopened TAPESTRY-2035:
--------------------------------------------
Assignee: Howard M. Lewis Ship
> Optimized request paths seem to cause problems with tapestry's default.css
> and related default assets for relative URLs
> -----------------------------------------------------------------------------------------------------------------------
>
> Key: TAPESTRY-2035
> URL: https://issues.apache.org/jira/browse/TAPESTRY-2035
> Project: Tapestry
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.0.8
> Reporter: Denis McCarthy
> Assignee: Howard M. Lewis Ship
> Fix For: 5.0.8
>
>
> This is related to TAPESTRY-2033. There seems to be (if I'm interpreting what
> I'm seeing correctly) caching of asset URLS for internal tapestry assets: for
> example
> default.css, assets/tapestry/field-error-marker.png and so on. The URIS for
> these assets are cached the first time they are encountered. This causes a
> problem with
> optimized request paths, because the cached path is optimized for the
> relative path at which the asset is first loaded by the browser. This means
> that if
> the asset is referred to by a page in a different package, the URI is the
> original URI (optimized for where it was first encountered) leading to the
> it being relative to the incorrect base path.
> For example:
> my login page is /myapp/login - on loading, default.css is optimized to
> ../tapestry/assets/default.css.
> My next page is /myapp/alerts/view_alerts - default.css still points at
> ../tapestry/assets/default.css.
--
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]