[ 
https://issues.apache.org/jira/browse/SYNCOPE-1590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17195480#comment-17195480
 ] 

ASF subversion and git services commented on SYNCOPE-1590:
----------------------------------------------------------

Commit 5424210cfc4f255d2aac11d61095b5bebe88c4e5 in syncope's branch 
refs/heads/2_1_X from Francesco Chicchiriccò
[ https://gitbox.apache.org/repos/asf?p=syncope.git;h=5424210 ]

[SYNCOPE-1590] Fix


> Error when adding i18n labels to schemas
> ----------------------------------------
>
>                 Key: SYNCOPE-1590
>                 URL: https://issues.apache.org/jira/browse/SYNCOPE-1590
>             Project: Syncope
>          Issue Type: Bug
>          Components: console
>    Affects Versions: 2.1.7
>            Reporter: Francesco Chicchiriccò
>            Assignee: Francesco Chicchiriccò
>            Priority: Major
>             Fix For: 2.1.8
>
>
> When adding i18n labels to schemas matching Locale with variants (e.g. 
> {{pt_BR}}), an exception is raised:
> {code}
> java.lang.ArrayIndexOutOfBoundsException: 2
>      at org.apache.syncope.common.lib.to.SchemaTO.toLocale(SchemaTO.java:63)
>      at 
> org.apache.syncope.client.console.panels.SchemaTypeWizardBuilder$Labels.lambda$new$0(SchemaTypeWizardBuilder.java:139)
>      at java.util.LinkedHashMap.forEach(LinkedHashMap.java:684)
>      at 
> org.apache.syncope.client.console.panels.SchemaTypeWizardBuilder$Labels.<init>(SchemaTypeWizardBuilder.java:138)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to