Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-3631

I18N on nested MultiValue / CompositeFields weird behaviour

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Neutral Neutral
    • None
    • 5.4.2
    • dialogs

      Test case below:

      - name: websites
                  class: info.magnolia.ui.form.field.definition.MultiValueFieldDefinition
                  transformerClass: info.magnolia.ui.form.field.transformer.multi.DelegatingMultiValueSubnodeTransformer
                  field:
                   name: links
                   class: info.magnolia.ui.form.field.definition.CompositeFieldDefinition
                   transformerClass: info.magnolia.ui.form.field.transformer.composite.DelegatingCompositeFieldTransformer
                   fields:
                   - name: linkLabel
                     class: info.magnolia.ui.form.field.definition.TextFieldDefinition
                     i18n: true
                   - name: url
                     class: info.magnolia.ui.form.field.definition.TextFieldDefinition
                     i18n: true
      

      For each language we want to provide for the fields mentionned above, we need to provide a separate 'save' action. Else, only the last provided content will be persisted.

      Behaviour should be equal as providing I18N for a normal TextField: Provide content in multiple languages. Press save == > Content is persisted for all provided languages.

        Acceptance criteria

              mgeljic Mikaël Geljić
              pardinois Pieter Ardinois
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD