[MAGNOLIA-7111] Light-Module descriptor not read when using sym links Created: 17/Aug/17 Updated: 06/Jun/18 Resolved: 16/Nov/17 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | None |
| Affects Version/s: | 5.5.5 |
| Fix Version/s: | 5.5.8, 5.6.1 |
| Type: | Bug | Priority: | Major |
| Reporter: | Christoph Meier | Assignee: | Robert Šiška |
| Resolution: | Fixed | Votes: | 1 |
| Labels: | to-estimate | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
CE, 5.6-SNAPSHOT, 5.5.6-SNAPSHOT; OS-X 10.11.6; Java 1.8.0_51 |
||
| Issue Links: |
|
||||||||
| Template: |
|
||||||||
| Acceptance criteria: |
Empty
|
||||||||
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
||||||||
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
||||||||
| Date of First Response: | |||||||||
| Sprint: | Kromeriz 122, Kromeriz 123 | ||||||||
| Story Points: | 5 | ||||||||
| Description |
SummaryIf light-modules are added as symlinks to the magnolia.resources.dir, their module descriptors are not properly read. Defined dependencies are missing. => As a consequence, YAML !inherits fails when inheriting between light-modules. To reproduce failure(I) (II) magnolia.resources.dir=/yours/dev/lightmodules (III) module-a -> ../repo/having-fun-with-yaml/light-modules/module-a/ module-b -> ../repo/having-fun-with-yaml/light-modules/module-b/ (IV)
To verify that having-fun-with-yaml is ok: magnolia.resources.dir=/yours/dev/repo/having-fun-with-yaml/light-modules (III) Start the instance, this time it will work. |
| Comments |
| Comment by Christoph Meier [ 17/Aug/17 ] |
|
Note that jfrantzius recently was reporting issues when using symlinks for light-modules (see comments on the docu page Creating a light module. Not sure whether this issue here and Joergs observation are related. However, in both cases there is a problem when using symlinks for light-modules. For me symlinks worked fine now for a long time without having issues. My "only" issue so far is the one which is described in this ticket, where Joerg seems to have "more" problems with symlinks. |
| Comment by Christopher Zimmermann [ 07/Nov/17 ] |
|
Yeah - this is particularly important because decoration and new YAML !include feature depend on light module dependencies. |
| Comment by Viet Nguyen [ 13/Nov/17 ] |
|
Would also great if we can read module descriptors from JCR as suggestion in the ticket Support#8104:
|