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.
- https://documentation.magnolia-cms.com/display/DOCS57/YAML-based+module+descriptor
- https://documentation.magnolia-cms.com/display/DOCS57/XML-based+module+descriptor
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