[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:
Cloners
clones MGNLCT-153 datasource-rootPath is ignored when i... Closed
Relates
relates to MGNLUI-6704 datasource-rootPath is ignored when s... Closed
supersession
supersedes MGNLCT-153 datasource-rootPath is ignored when i... Closed
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:

  1. Create a content-type including a rootPath property (example attached in lm module)
  2. Create an app using the content-type above (example attached in lm module)
  3. Open the new app

Expected behaviour

Root 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


Generated at Mon Feb 12 09:33:27 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.