You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martijn Dashorst (JIRA)" <ji...@apache.org> on 2015/09/21 14:43:04 UTC
[jira] [Closed] (WICKET-5966) ResourceUtils.getLocaleFromFilename
can't handle minimized resources well
[ https://issues.apache.org/jira/browse/WICKET-5966?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martijn Dashorst closed WICKET-5966.
------------------------------------
> ResourceUtils.getLocaleFromFilename can't handle minimized resources well
> -------------------------------------------------------------------------
>
> Key: WICKET-5966
> URL: https://issues.apache.org/jira/browse/WICKET-5966
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 6.20.0, 7.0.0
> Reporter: Martijn Dashorst
> Fix For: 7.1.0
>
>
> I think the ResourceUtils.getLocaleFromFilename(String path) has the order of locale and minimization wrong:
> It currently parses: File.min_Lang_Coun_Var.ext while the typical convention is File_Lang_Coun_Var.min.ext
> Surely considering the ResourceUtils.getMinifiedName() method which does work according to convention.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)