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

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Neutral Neutral
    • None
    • None

      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

        Acceptance criteria

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

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD

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