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

Description

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:

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.

Activity

Show:
Fixed

Details

Assignee

Reporter

Priority

Support Score

19

Magnolia Release

Fix versions

Affects versions

Story Points

Sprint

More fields

Created January 13, 2022 at 3:32 PM
Updated March 10, 2025 at 1:29 PM
Resolved January 26, 2022 at 9:36 AM