Uploaded image for project: 'Magnolia DAM Module'
  1. Magnolia DAM Module
  2. MGNLDAM-1115

Uploading content through damLinkField ignores rootPath

    XMLWordPrintable

Details

    Description

      Steps to reproduce

      Add the following property to any dialog:

      damLinkTest:
        label: Test label
        $type: damLinkField
        required: true
        datasource:
          $type: assetDatasource
          rootPath: "/travel-demo"
          workspace: dam 

      Then access it, and upload an asset without selecting any folder at all (use direct upload with bottom-left actions, both upload and upload&edit suffers from this issue). This asset should be stored on "/travel-demo". However, it'll be stored on the root of the dam workspace instead of taking into account the specified rootPath property.

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            There are no Sub-Tasks for this issue.

            Activity

              People

                asiska Adam Siska
                rgaona Roberto Gaona
                AuthorX
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:
                  Work Started:

                  Checklists

                    Bug DoR
                    Task DoD

                    Time Tracking

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