Uploaded image for project: 'Java Script UI (App and Dialog Fields)'
  1. Java Script UI (App and Dialog Fields)
  2. JSFIELD-34

i18n multifield values not saved in JCR when dialog contains jsField

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 2.0.2
    • 2.0
    • None

      Steps to reproduce

      1. define dialog and set it's 
        implementationClass: info.magnolia.ui.javascript.form.FormViewWithChangeListener
      2. add javascript field to the dialog
      3. add multifield containing composite field whose subfields are set to i18n

      .. Example dialog definition:

      __

      form:
        implementationClass: info.magnolia.ui.javascript.form.FormViewWithChangeListener
        properties:
      
          colorField:
            label: Color field
            $type: javascriptField
            fieldScript: /ui-framework-javascript-examples/webresources/colorField.html
            height: 50
      
          keySellingPoints:
            required: true
            $type: jcrMultiField
            field:
              $type: compositeField
              properties:
                title:
                  label: Title
                  i18n: true
                  $type: textField
                description:
                  label: Description
                  i18n: true
                  rows: 3
                  $type: textField
        

       

      Expected results

      .. Values for the multifield to be saved in JCR no matter which language we choose.

      Actual results

      .. Values for the multifield are saved only for the current language, for other languages values are lost.

      Workaround

      .. Set whole multifield i18n not subfields.

       

      Development notes

        Acceptance criteria

              sgeschke Sebastian Geschke
              rdrangovski Riste Drangovski
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: