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

datasource-rootPath is duplicated if content is created in a inner folder

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • 6.2.16
    • 6.2.9, 6.2.15
    • None
    • None
    • Yes
    • Nucleus 2
    • 5

      Steps to reproduce:

      1. Modify /dam-app-jcr/decorations/dam-assets-app/apps/dam.subApps.yaml and add rootPath: /travel-demo to the defined datasource.
      2. Go to Assets app and try to upload a new asset into one of the existing folders.

      Current result

      An error comes up because the rootPath is duplicated:

      Message: javax.jcr.PathNotFoundException: /travel-demo/travel-demo/social-icons. Stack trace: info.magnolia.jcr.RuntimeRepositoryException: javax.jcr.PathNotFoundException: /travel-demo/travel-demo/social-icons
      

      Expected result

      The detail is open and a new asset can be uploaded

      NOTES:
      Assets app is just an example, it happens in all apps that has rootPath defined.

      Developer notes

      Upload works only at root level.

        Acceptance criteria

              ajuran Antonín Juran
              miruela Mercedes Iruela
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: