[
https://issues.apache.org/jira/browse/WICKET-5967?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14680261#comment-14680261
]
ASF subversion and git services commented on WICKET-5967:
---------------------------------------------------------
Commit 8773531793092e302fa86ec61f3919c7008472d6 in wicket's branch
refs/heads/master from [~dashorst]
[ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=8773531 ]
Fixed WICKET-5967 Unable to load i18n minified js
Moved location of minified (or not) resources to ResourceStreamLocator instead
of the
resources themselves by adding a lookup for .min.<extension> before
.<extension> in the list
of extensions to search for. This prioritizes the minified version before the
non-minified version,
and allows for style_variation_locale resources to be located in minified
versions as well.
> 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 a localization and minification come into play, Wicket only finds the
> root, minified resource instead of the localized, minified version.
> E.g. when you want b_nl.min.js (which is on the class path), Wicket will
> resolve b.min.js instead.
> 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)