Uploaded image for project: 'Frontify'
  1. Frontify
  2. FRONTIFY-16

Widget causes issue with internationalized fields inside a multivalue field

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 1.0.2
    • 1.0.2
    • None

      Consider the following configuration for a dialog:

      form:
        implementationClass: info.magnolia.ui.javascript.form.FormViewWithChangeListener
        properties:
          title:
            $type: textField
            i18n: true
            required: true
          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
          image:
            $type: frontifyWidgetField
            height: 220
      

      Reproduce
      Try filling out the internationalized fields with content. Save the dialog. Reopen the dialog.

      Expected
      When reopening the dialog all internationalized fields should display their content.

      Actual
      Only some language data is displayed within the multivalue field. In the case of two languages (en and de) you only get one language. If you toggle the language selector in the detail subapp it can happen that both data go missing after a few tries of closing and reopening the dialog.

      Notes

      • When removing the frontifyWidgetField the dialog behaves as expected.
      • Data is saved correctly to the JCR.

        Acceptance criteria

              rdrangovski Riste Drangovski
              rgange Richard Gange
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: