You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "Thiago Henrique De Paula Figueiredo (Jira)" <ji...@apache.org> on 2020/12/30 20:03:00 UTC
[jira] [Closed] (TAP5-2656) Disabling strict CSS URL rewriting
still throws exceptions for non-existing files
[ https://issues.apache.org/jira/browse/TAP5-2656?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thiago Henrique De Paula Figueiredo closed TAP5-2656.
-----------------------------------------------------
Fix Version/s: 5.7.0
5.6.2
Assignee: Thiago Henrique De Paula Figueiredo
Resolution: Fixed
Issue fixed.
> Disabling strict CSS URL rewriting still throws exceptions for non-existing files
> ---------------------------------------------------------------------------------
>
> Key: TAP5-2656
> URL: https://issues.apache.org/jira/browse/TAP5-2656
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-core
> Reporter: Thiago Henrique De Paula Figueiredo
> Assignee: Thiago Henrique De Paula Figueiredo
> Priority: Major
> Fix For: 5.6.2, 5.7.0
>
>
> When running Tapestry with {{tapestry.strict-css-url-rewriting}} set to {{false}}, you still get a exception when you have an {{url(some/url/file.css)}} which points to a non-existing file.
>
> java.lang.RuntimeException: Unable to locate asset 'classpath:oup/images/btn_bkg_library.gif' (the file does not exist).java.lang.RuntimeException: Unable to locate asset 'classpath:oup/images/btn_bkg_library.gif' (the file does not exist). at org.apache.tapestry5.internal.services.AssetSourceImpl.getLocalizedAssetFromResource(AssetSourceImpl.java:390) at org.apache.tapestry5.internal.services.AssetSourceImpl.getAssetInLocale(AssetSourceImpl.java:305) at org.apache.tapestry5.internal.services.AssetSourceImpl.getAsset(AssetSourceImpl.java:131) at $AssetSource_16ab12558976.getAsset(Unknown Source) at org.apache.tapestry5.internal.services.assets.CSSURLRewriter.replaceURLs(CSSURLRewriter.java:177)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)