Uploaded image for project: 'Magnolia Standard Templating Kit (closed)'
  1. Magnolia Standard Templating Kit (closed)
  2. MGNLSTK-940

DMS node marked for removal (workflow) is still referenceable by DAM control and generates a broken link

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.4.7, 2.0.3
    • 1.4.6, 2.0.2
    • None
    • None

      In DMS the new workflow on node deletion remove the binary node representation of a Document.
      But the node is still referenceable.

      Behaviour:

      assign asset = stk.getAsset(content, "image", "sliderHome")!
      if asset?has_content${asset.link!}/#if

      1. if DMS image is present, it will print (correct):
      /magnoliaAuthor/.imaging/stk/site-lausanne/sliderHome/dms/site-xyz/sliderHome/sliderHome_1/document/sliderHome_1.jpg

      2. if DMS image has been marked for deletion, it will print (BUG!):
      /magnoliaAuthor/.imaging/stk/site-lausanne/sliderHome/dms/site-xyz/sliderHome/sliderHome_1/document/

      3. if DMS image has been deleted by WF, nothing will be printed (correct).

      Log4J throw this exception [see attachment]

        Acceptance criteria

              mdivilek Milan Divilek
              matteo.pelucco Matteo Pelucco
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: