[MGNLUI-6129] datasource-rootPath is ignored when it is set directly in the definition Created: 13/Aug/20 Updated: 20/Oct/20 Resolved: 17/Aug/20 |
|
| Status: | Closed |
| Project: | Magnolia UI |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | 6.2.3 |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Canh Nguyen | Assignee: | Canh Nguyen |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | 622 | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| 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
|
||||||||||||||||||||||||
| Epic Link: | Content Types phase 2 | ||||||||||||||||||||||||
| Sprint: | HL & LD 9 | ||||||||||||||||||||||||
| Story Points: | 2 | ||||||||||||||||||||||||
| Description |
|
Datasource definition is ignored when it is defined in the definition. Steps to reproduce:
Expected behaviourRoot path displayed for the new app is the one defined in rootPath property in the datasource Current behaviour:rootPath property is ignored and the app is displaying the whole workspace from / Workaround:Decorate the datasource definition to include rootPath property. Development notes:The rootPath is not set here: https://git.magnolia-cms.com/projects/PLATFORM/repos/ui.pub/browse/magnolia-ui-framework-jcr/src/main/resources/contenttypes/appTemplate.ftl |