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

damLinkField: rootPath property not supported

XMLWordPrintable

      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

        Acceptance criteria

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