You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Adrian Crum (JIRA)" <ji...@apache.org> on 2015/04/29 09:34:06 UTC
[jira] [Closed] (OFBIZ-6309) Freemarker errors at lanaguge change
page due to locale with no display name returned by
Locale.getAvailableLocales() in UtilMisc.java#getAvailableLocaleList
[ https://issues.apache.org/jira/browse/OFBIZ-6309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adrian Crum closed OFBIZ-6309.
------------------------------
Resolution: Fixed
Fix Version/s: Upcoming Branch
13.07.02
14.12.01
Fixed in rev 167674. Thanks!
> Freemarker errors at lanaguge change page due to locale with no display name returned by Locale.getAvailableLocales() in UtilMisc.java#getAvailableLocaleList
> -------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: OFBIZ-6309
> URL: https://issues.apache.org/jira/browse/OFBIZ-6309
> Project: OFBiz
> Issue Type: Bug
> Components: framework
> Affects Versions: Trunk
> Reporter: Christian Carlow
> Assignee: Adrian Crum
> Fix For: 14.12.01, 13.07.02, Upcoming Branch
>
> Attachments: OFBIZ-6309.patch
>
>
> For some reason Locale.getAvailableLocales() returns an array list whose first member is a locale without a display name which causes an FTL error at ListLocales page. The error is not occurring for the demo trunk. The attached patch adds a line to UtilMisc to check that a displayName exists before adding the locale to the list in case the same happens for other users.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)