DMS node marked for removal (workflow) is still referenceable by DAM control
and generates a broken link
--------------------------------------------------------------------------------------------------------
Key: MGNLIMG-93
URL: http://jira.magnolia-cms.com/browse/MGNLIMG-93
Project: Magnolia Imaging Module
Issue Type: Bug
Affects Versions: 2.1.1
Reporter: Matteo Pelucco
Assignee: Grégory Joseph
Attachments: stacktrace.txt
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]
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
For list details, see: http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------