[MGNLSTK-760] Issue STK Download List Created: 01/Apr/11  Updated: 24/May/13  Resolved: 24/May/13

Status: Closed
Project: Magnolia Standard Templating Kit (closed)
Component/s: paragraphs
Affects Version/s: 1.4.2
Fix Version/s: 1.4.4

Type: Bug Priority: Neutral
Reporter: Nikolaos Christou Assignee: Ondrej Chytil
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

SLES 11.1 / Tomcat


Attachments: JPEG File BugCMS.jpg    
Issue Links:
supersession
is superseded by MGNLSTK-1171 Issue STK DownloadList Closed
Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

When you create a STK Download List paragraph for a DMS folder, and then delete one of the folder's files in the author instance without approving that change (workflow module), then you get the following error in the author instance:



 Comments   
Comment by Nikolaos Christou [ 04/Apr/11 ]

Any status update?

Comment by Magnolia International [ 06/Apr/11 ]

Hi - yeah, sounds like a bug in stk.
If you want to give it a shot, the current trunk is at http://svn.magnolia-cms.com/svn/community/modules/standard-templating-kit/trunk/magnolia-module-standard-templating-kit and this can most likely be fixed by modifying src/main/resources/templating-kit/paragraphs/content/DownloadList.ftl.

If not, we'll attempt to push this into the next release, but I can't promise it, planning is tight these days !

Comment by Jan Haderka [ 16/May/11 ]

checking docs selected for deletion based on whether they have file name feels bit of like voodoo. Why not use
node.hasMixin(ItemType.DELETED_NODE_MIXIN) instead?

Comment by Teresa Miyar [ 24/May/13 ]

This bug is still present in 2.0.9, if you remove the file by clicking on remove in the dialog, but the node is still present, as you only remove the document inside the node, you still get the problem. document.filesize fails

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