[
https://issues.apache.org/jira/browse/OFBIZ-10707?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16721245#comment-16721245 ]
Michael Brohl commented on OFBIZ-10707:
---------------------------------------
Why do you think that? It provides a simple method to get the orientation from the Locale...
{code:java}
ComponentOrientation.getOrientation(Locale locale){code}
> ListLocales throws StringIndexOutOfBounds Exception under Java 1.8.0_181
> ------------------------------------------------------------------------
>
> Key: OFBIZ-10707
> URL:
https://issues.apache.org/jira/browse/OFBIZ-10707> Project: OFBiz
> Issue Type: Bug
> Components: themes
> Affects Versions: Trunk
> Reporter: Benjamin Jugl
> Assignee: Benjamin Jugl
> Priority: Minor
> Fix For: Trunk
>
> Attachments: OFBIZ-10707_ListLocales.ftl.patch
>
>
> Because langAttr can be empty on some occations, the check of available languages can result in a SringINdexOutOfBounds Exception
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)