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

YAML module descriptor cannot handle version *

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Fix
    • Neutral
    • None
    • None
    • None
    • None
    • 5.7.2-SNAPSHOT , with UI branch "feature/content-types" plus content-types-1.0-SNAPSHOT

    Description

      In the dependencies section of the Magnolia module descriptor, one must specify the version of the dependent module. Several kind of wildcards are possible, see docs.

      In the YAML based module descriptor, the Magnolia throws an error when the the version i specified as * - something which is possible in an XML based mod. desc. file.
      Interestingly it works, if the version - * - is wrapped with quotes.

      The sole star {*} should work, because: 

      • It works in the XML based version.
      • In YAML, value and "value" must be the same.

       


      Example, which does not work:

      dependencies:
        travel-demo-stories-app:
          version: *
      

       


      Examples, which do work:

      dependencies:
        travel-demo-stories-app:
          version: 1.0/*
      
      dependencies:
        travel-demo-stories-app:
          version: "*"
      

       

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              Unassigned Unassigned
              cmeier Christoph Meier
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD