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

Yaml inlcude not working with colon syntax

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Neutral Neutral
    • None
    • 5.6
    • configuration
    • None

      The documentation states that yaml include syntax should be used with a colon separator like this:

      actions: !include:/module-a/includes/common-actions.yaml
      

      This does not seem to be working.

      If I go the Resource Files app and create a new include file called actions.yml

      commit:
        class: info.magnolia.ui.admincentral.dialog.action.SaveDialogActionDefinition
      cancel:
        class: info.magnolia.ui.admincentral.dialog.action.CancelDialogActionDefinition
      

      Then use that include file using the colon syntax

      actions: !include:/travel-demo/dialogs/components/actions.yml
      

      I get an error in the Definitions app

        Acceptance criteria

              Unassigned Unassigned
              rgange Richard Gange
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD