Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-8759

Saving multiField with locale composed by lang + country yields strange JCR naming

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Neutral Neutral
    • None
    • 6.2.28
    • i18n
    • None

      Steps to reproduce

      This can be reproduced on our demo page:

      1. Add en_GB locale to Site Definition
        https://demoauthor.magnolia-cms.com/.magnolia/admincentral#app:site:browser;/travel/i18n/locales/en_GB:null:
      2. Add third Tab with jcrMutliField to the Component (in this case: textImage.yaml)
        https://demoauthor.magnolia-cms.com/.magnolia/admincentral#app:resources:browser;/mtk2/dialogs/components/textImage.yaml::
        Attached definition of the component.
      3. Edit "Travel Home"-Template 
        1. change language to English (United Kingdom).  
        2. add "Text and Image"-Component. 
        3. got to the third Tab and add one Image
      4. see the result in JCR App{}

      Expected results

      Data is stored on properly named nodes without issue

      Actual results

      Nodes name concatenates the locale + country consecutively and returns error when trying to save more times.

      Workaround

      Development notes

        Acceptance criteria

              Unassigned Unassigned
              rgaona Roberto Gaona
              Nucleus
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD