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

dam-templating: damfn.getAsset should not find deleted asset (mgnl:deleted)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Workaround exists
    • Icon: Neutral Neutral
    • None
    • 2.2.7, 2.3
    • DAM API
    • None

      The damfn.getAsset() returns a marked-as-deleted asset of the DAM. Further requests on this Item will fail, e.g. to read the description of the asset.

      damfn.getAsset() with an deleted asset-Item should return null, so you can catch that error with the default freemarker tools.

      At the moment, you will get exceptions in your log and freemarker errors in the UI.

        Acceptance criteria

              Unassigned Unassigned
              fuchs.florian Florian Fuchs
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: