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

damLinkField with rootPath in data source saves upload outside rootPath

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Neutral Neutral
    • None
    • 3.0.18
    • DAM App
    • None

      I would like to restrict a DAM link field to an asset folder.

      Steps to reproduce:

      • Configure a dialog field like so:
      image:
        required: true
        label: templates.pages.newsroom-article.footer.assets.image.label
        $type: damLinkField
        datasource:
          $type: assetDatasource
          rootPath: /bilddatenbank/
      • Click on "Upload" or click on "Upload & Edit" and upload a file

      Actual behavior:

      • The file ends up in "/"

      Expected behavior:

      • The file ends up in the rootPath of the dataSource

        Acceptance criteria

              Unassigned Unassigned
              gabriel.katz@ti8m.ch Gabriel Katz
              AuthorX
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:

                  Bug DoR
                  Task DoD