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

Richtext field disappears when it is ordered inside a multivalue field

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Neutral
    • Resolution: Fixed
    • Affects Version/s: 6.2.5
    • Fix Version/s: 6.2.6
    • Component/s: None
    • Labels:
    • Release notes required:
      Yes
    • Epic Link:
    • Sprint:
      Maintenance 41
    • Story Points:
      3

      Description

      Steps to reproduce

      1.  Create a dialog with a Multivalue>Composite>Richtext. You can use this definition using the new UI:
        form:
          label: disclaimer
          properties:
            multi:
              label: Addresses
              i18n: true
              $type: jcrMultiField
              field:
                $type: compositeField
                properties:
                  street:
                    label: Street name
                    $type: richTextField
                  city:
                    label: City name
                    i18n: true
                    $type: textField
                  zip:
                    label: ZIP code
                    $type: textField
        

      Or the old ui:

      form:
        label: disclaimer
        tabs:
          - name: tabMain
            label: Main
            fields:
              - name: titulo
                class: info.magnolia.ui.form.field.definition.TextFieldDefinition
                required: true
              - name: notas
                class: info.magnolia.ui.form.field.definition.MultiValueFieldDefinition
                transformerClass: info.magnolia.ui.form.field.transformer.multi.DelegatingMultiValueFieldTransformer
                field:
                  name: nota
                  class: info.magnolia.ui.form.field.definition.CompositeFieldDefinition
                  transformerClass: info.magnolia.ui.form.field.transformer.composite.DelegatingCompositeFieldTransformer
                  layout: vertical
                  fields:
                    - name: id
                      class: info.magnolia.ui.form.field.definition.TextFieldDefinition
                      required: true
                    - name: nota
                      class: info.magnolia.ui.form.field.definition.TextFieldDefinition
                      required: true
                    - name: texto
                      class: info.magnolia.ui.form.field.definition.RichTextFieldDefinition
                      required: true
      
      actions:
        commit:
          class: info.magnolia.ui.admincentral.dialog.action.SaveDialogActionDefinition
        cancel:
          class: info.magnolia.ui.admincentral.dialog.action.CancelDialogActionDefinition
      
      1. Open the dialog, add a few data in the multivalue
      2. Click on the arrows to order the content. 

      Expected results

      The content is ordered and all the fields are displayed

      Actual results

      Content is ordered but rich text field disappears.

      Workaround

      Save changes and reopen the dialog again.

      Development notes

      It is reproducible in the old ui and in the new one. On legacy pages app and in the new pages app also.

        Checklists

        Acceptance criteria

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                ajuran Antonín Juran
                Reporter:
                miruela Mercedes Iruela
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Checklists

                    Bug DoR
                    DoD

                      Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - 0d
                      0d
                      Logged:
                      Time Spent - 1d 4.25h
                      1d 4.25h