[MGNLSTK-940] DMS node marked for removal (workflow) is still referenceable by DAM control and generates a broken link Created: 16/Mar/12  Updated: 26/Apr/12  Resolved: 11/Apr/12

Status: Closed
Project: Magnolia Standard Templating Kit (closed)
Component/s: None
Affects Version/s: 1.4.6, 2.0.2
Fix Version/s: 1.4.7, 2.0.3

Type: Bug Priority: Major
Reporter: Matteo Pelucco Assignee: Milan Divilek
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File stacktrace.txt    
Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

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]



 Comments   
Comment by Ondrej Chytil [ 19/Mar/12 ]

Hi Matteo,

thanks for reporting this issue, it just seems more like DMS so I moved the ticket. Should be fixed for next release.

Generated at Mon Feb 12 07:31:51 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.