[MGNLSTK-1171] Issue STK DownloadList Created: 24/May/13  Updated: 04/Dec/13  Resolved: 14/Jun/13

Status: Closed
Project: Magnolia Standard Templating Kit (closed)
Component/s: paragraphs
Affects Version/s: 2.0.8, 2.0.9
Fix Version/s: None

Type: Bug Priority: Major
Reporter: Teresa Miyar Assignee: Roman Kovařík
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
duplicate
duplicates MGNLDMS-271 Document tries to parse file size eve... Closed
supersession
supersedes MGNLSTK-760 Issue STK Download List Closed
Template:
Acceptance criteria:
Empty

 Description   

You add a downloadList component in your page, then you go to dmx open one of the document dialogs, click on remove. The node is still there but there is no document. When rendering this on website you get a freemarker error on document.fileSize.
After investigating a little it takes me to dms Document object, getFileSize method fails, does not return null so freemarker template fails even when using Has_content or exists


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