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 2008/01/23 16:02:49 UTC
[jira] Reopened: (TAPESTRY-2035) Optimized request paths seem to
cause problems with tapestry's default.css and related default assets for
relative URLs
[ 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: dev-unsubscribe@tapestry.apache.org
For additional commands, e-mail: dev-help@tapestry.apache.org