[
https://issues.apache.org/jira/browse/WICKET-5967?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14681425#comment-14681425
]
Martin Grigorov commented on WICKET-5967:
-----------------------------------------
The resource could be available with: foo.js and foo.compressed.js names.
Until now one could override PackageResourceReference#getMinifiedName() and
Wicket will use foo.compressed.js in PRODUCTION mode.
With your change such application will have to use foo.compressed.js both in
DEV and PROD mode (i.e. always compressed) to be able to load the compressed
version.
I don't think this is a big problem though. Just noting that it may break
applications which use PackageResourceReference#getMinifiedName().
I've added this method back in the day because DOJO uses/used? the following
convention: foo.uncompressed.js + foo.js (this is the minified one!)
> Unable to load i18n minified js
> -------------------------------
>
> Key: WICKET-5967
> URL: https://issues.apache.org/jira/browse/WICKET-5967
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 6.20.0, 7.0.0
> Reporter: Martijn Dashorst
> Fix For: 6.21.0, 7.1.0
>
>
> Wicket doesn't locate i18n minified resources from the class path correctly.
> When style, variation, i18n and minification come into play, Wicket doesn't
> find the correct styled, variationed, i18n and minified file.
> Due to a combination of bugs and some changes we haven't yet discerned,
> Wicket 7.0.0 fails to load a JavaScript file (to be exact:
> wicket/resource/org.odlabs.wiquery.ui.datepicker.DatePickerLanguageResourceReference/i18n/jquery.ui.datepicker-nl-ver-1438239140000.js)
> This issue is one of those bugs, which is present in 6.x but doesn't surface
> there for a yet unknown reason.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)