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

add-availability command inserts the availableComponent lines incorrectly

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Neutral
    • Resolution: Fixed
    • Affects Version/s: 2.2.0, 3.0.0
    • Fix Version/s: 3.0.0, 2.2.1
    • Labels:
      None
    • Epic Link:
    • Sprint:
      Kromeriz 135, Kromeriz 136, Kromeriz 137
    • Story Points:
      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)

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: