Uploaded image for project: 'Content Editor'
  1. Content Editor
  2. CONTEDIT-182

Stories app (fields), a MultiValue containing a Composite field cannot be saved

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Neutral
    • None
    • None
    • None
    • demoauthor.magnolia-cms.com

    Description

      When I customize the Stories app YAML config by adding a new field, which is a MultiValueField, which itself contains a CompositeField, editing is fine. However, the field's value cannot be saved, as there is only a property node ('leaf'), not a content node to store the composed value. In fact, even no property node is created, the edited content will get lost when closing the edited story.

      While creating the field definition, I followed the configuration schema mentioned here:

      https://documentation.magnolia-cms.com/display/DOCS56/Transforming+field+values#Transformingfieldvalues-MultiValueSubChildrenNodePropertiesTransformer

      and here:

      https://documentation.magnolia-cms.com/display/DOCS56/Multivalue+field#Multivaluefield-Multivaluecontainingacompositefield

      Please find attached a snippet with the failing field definition. You can paste it right below the "relatedContent" field definition.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                Unassigned Unassigned
                gernot.fussan Gernot Fussan
                Frank Sommer, Joerg von Frantzius, Karsten Martin, Sebastian Bauch, zzz_Philipp Güttler
                Votes:
                3 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD