[MGNLSTK-1434] DownloadLink throws TemplateModelException when a folder is selected Created: 13/Oct/14  Updated: 02/Jul/18  Resolved: 02/Jul/18

Status: Closed
Project: Magnolia Standard Templating Kit (closed)
Component/s: None
Affects Version/s: 2.8.4
Fix Version/s: None

Type: Bug Priority: Neutral
Reporter: Christoph Meier Assignee: Unassigned
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: PNG File DownloadLink-with-folder-selected.png    
Issue Links:
Relates
relates to MGNLSTK-1437 DownloadLink throws TemplateModelExce... Closed
relation
is related to MGNLSTK-1403 Download list does not work properly Closed
Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

This one is probably related to MGNLSTK-1403.
When selecting a folder, a TemplateModelException is thrown and nothing is rendered.
I'm not sure what would be "expected behavior" here.
In Magnolia 4.5 the name od the folder is displayed (see screenshot, indicating 0KB). Klicking the link leads to 404 (HTTP response code).
We should probably better disallow to select a folder on this component.

To reproduce:

  • Add "Link list" in the content area.
  • there, Add new link list component.
  • Select "Dowload Link" and there in the DAM-selection, choose a folder.


 Comments   
Comment by Andreas Antener [ 17/Oct/14 ]

Hi Christoph
Here's the underlying issue: MGNLSTK-1437

Cheers
Andreas

Comment by Jan Haderka [ 02/Jul/18 ]

STK have been deprecated in September 2017. As part of this project nearing end-of-life, we are not planning to fix any of the existing issues except for the critical security issues. For more details, please consult documentation.

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