[MGNLCT-153] datasource-rootPath is ignored when it is set directly in the definition Created: 23/Jul/20  Updated: 19/Aug/20  Resolved: 13/Aug/20

Status: Closed
Project: Content Types
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Mercedes Iruela Assignee: Canh Nguyen
Resolution: Obsolete Votes: 0
Labels: 622
Remaining Estimate: Not Specified
Time Spent: 1.5d
Original Estimate: Not Specified

Attachments: Zip Archive lm.zip    
Issue Links:
Cloners
is cloned by MGNLUI-6129 datasource-rootPath is ignored when i... Closed
Problem/Incident
Relates
relates to MGNLUI-5579 New content from content apps using c... Closed
supersession
is superseded by MGNLUI-6129 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: 0

 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 00:37:40 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.