Uploaded image for project: 'Magnolia CLI'
  1. Magnolia CLI
  2. NPMCLI-164

add-availability command inserts the availableComponent lines incorrectly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 3.0.0, 2.2.1
    • 2.2.0, 3.0.0
    • None
    • Kromeriz 135, Kromeriz 136, Kromeriz 137
    • 8

    Description

      Below is an example where the add-availability command has produced an erroneous result.

      light-modules/bucket-list-module/templates/pages/bucket-list.yaml

      title: bucket-list
      templateScript: /bucket-list-module/templates/pages/bucket-list.ftl
      renderType: freemarker
      dialog: bucket-list-module:pages/bucket-list
      visible: true
      
      areas:
        main:
          availableComponents:
            activity:
              id: bucket-list-module:components/activity
            image:
              id: mtk:components/image
            linkList:
            google-maps:
              id: google-maps-magnolia:components/google-maps
              id: mtk:components/linkList
      

      To reproduce:
      Follow https://documentation.magnolia-cms.com/display/DOCS56/Copy+of+Magnolia+CLI+walkthrough

      (ask in documentation room for access if required)

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                jsimak Jaroslav Simak
                jlegendre Julie Legendre
                Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD