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

damLinkField: rootPath property not supported

    XMLWordPrintable

Details

    Description

      Steps to reproduce

      Create DAM link field in any app and try to limit selection to any particular folder.

      $type: damlinkField
      datasource: 
        class: info.magnolia.dam.app.data.AssetDatasourceDefinition #an alias for $type is missing
        rootPath: /tours #this property doesn't exist
      

      .. Logs, screenshots, gifs...

      Expected results

      Chooser dialog associated with link field is limited to selected folder and subfolders when opened.

      Actual results

      M5 syntax is not valid in M6.2 and no equivalent syntax exists.

      Workaround

      Use JCR datasource instead of the asset datasource

      $type: linkField
      datasource: 
        $type: jcrDatasource
        workspace: dam
        rootPath: /tours
      

      Development notes

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                nguyen.phung Nguyen Phung Chi
                had Jan Haderka
                Votes:
                1 Vote for this issue
                Watchers:
                5 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 - 4d 6.25h
                      4d 6.25h