Uploaded image for project: 'Syncope'
  1. Syncope
  2. SYNCOPE-1590

Error when adding i18n labels to schemas

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.1.7
    • Fix Version/s: 2.1.8
    • Component/s: console
    • Labels:
      None

      Description

      When adding i18n labels to schemas matching Locale with variants (e.g. pt_BR), an exception is raised:

      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)
      

        Attachments

          Activity

            People

            • Assignee:
              ilgrosso Francesco Chicchiriccò
              Reporter:
              ilgrosso Francesco Chicchiriccò
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: