Uploaded image for project: 'Content Types'
  1. Content Types
  2. MGNLCT-153

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Obsolete
    • Neutral
    • 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
                miruela Mercedes Iruela
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - Not Specified
                      Not Specified
                      Logged:
                      Time Spent - 1.5d
                      1.5d