Uploaded image for project: 'Magnolia'
  1. Magnolia
  2. MAGNOLIA-9059

YAML simple include not working when not on first position

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • High
    • None
    • None
    • None
    • None

    Description

      Steps to reproduce

      1. Follow example for simple include from documentation page https://docs.magnolia-cms.com/product-docs/6.2/Developing/Reusing-configuration/YAML-inherit-and-include.html#_simple_include
      2. Move include down the list of properties
      form:
        properties:
          title:
            $type: textField
            label: Title
          !include:/module-a/includes/categorization-fields.yaml
      1. Open dialog

      Expected results

      Dialog opens with included properties rendered after title prop.

      Actual results

      💥

      Workaround

      Include as in documentation as first in the list of properties and use always layout to modify the order

      Development notes

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              plequoc Phong Le Quoc
              bstaryga Bartosz Staryga
              DeveloperX
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD

                  Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - Not Specified
                    Not Specified
                    Logged:
                    Time Spent - 2d
                    2d