[
https://issues.apache.org/jira/browse/TAP5-1353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Howard M. Lewis Ship closed TAP5-1353.
--------------------------------------
Resolution: Invalid
Assignee: Howard M. Lewis Ship
I'm pretty certain this has been subsequently fixed.
> Referencing library from root source causes tapestry to trim off first
> charater from file name.
> -----------------------------------------------------------------------------------------------
>
> Key: TAP5-1353
> URL: https://issues.apache.org/jira/browse/TAP5-1353
> Project: Tapestry 5
> Issue Type: Bug
> Components: tapestry-core
> Affects Versions: 5.2
> Reporter: Adam Zimowski
> Assignee: Howard M. Lewis Ship
> Priority: Minor
>
> Given the following annotation on a component (or page but haven't tried)
> class:
> @Import(library="classpath:util.js")
> Given the following contribution in the module:
> public static void
> contributeClasspathAssetAliasManager(MappedConfiguration<String, String>
> configuration) {
> // see http://markmail.org/thread/rq4vp7hi437smsrh
> configuration.add("js", "/");
> }
> Given that file util.js lives directly under src/
> Tapestry renders the page fine, but the reference to util.js is such that
> first character of the file name is trimmed off:
> <script src="/assets/ac7583cf1b184d5f/js/til.js"
> type="text/javascript"></script>
> Of course the file is inaccessible that way, but if I you manually add the
> missing 'u' it will load fine.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira