You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/12/30 18:57:00 UTC
[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17256663#comment-17256663 ]
ASF subversion and git services commented on TAP5-2656:
-------------------------------------------------------
Commit c2b64cfcbf0d569bf39d7239bd02b471e9b31786 in tapestry-5's branch refs/heads/5.6.x from Thiago H. de Paula Figueiredo
[ https://gitbox.apache.org/repos/asf?p=tapestry-5.git;h=c2b64cf ]
TAP5-2656: CSS URL rewriting still throws exceptions
for non-existing files even when configured to ignore them.
> 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
> Priority: Major
>
> 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)