[MGNLUI-6431] Richtext field disappears when it is ordered inside a multivalue field Created: 30/Nov/20  Updated: 22/Jan/21  Resolved: 22/Jan/21

Status: Closed
Project: Magnolia UI
Component/s: None
Affects Version/s: 6.2.5
Fix Version/s: 6.2.6

Type: Bug Priority: Neutral
Reporter: Mercedes Iruela Assignee: Antonín Juran
Resolution: Fixed Votes: 0
Labels: maintenance
Remaining Estimate: 0d
Time Spent: 1d 4.25h
Original Estimate: Not Specified

Attachments: PNG File Screenshot 2020-11-30 at 11.46.24.png    
Issue Links:
Relates
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Release notes required:
Yes
Epic Link: Support
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.


Generated at Mon Feb 12 09:36:22 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.