Uploaded image for project: 'Magnolia Standard Templating Kit (closed)'
  1. Magnolia Standard Templating Kit (closed)
  2. MGNLSTK-1434

DownloadLink throws TemplateModelException when a folder is selected

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Neutral Neutral
    • None
    • 2.8.4
    • None
    • None

      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.

        Acceptance criteria

              Unassigned Unassigned
              cmeier Christoph Meier
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: