Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-6129

datasource-rootPath is ignored when it is set directly in the definition

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 6.2.3
    • None
    • None

    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

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                canh.nguyen Canh Nguyen
                canh.nguyen Canh Nguyen
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD