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

FooterLinkList throws freemarker exception without a title

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.2.1
    • 1.2
    • None
    • None

    Description

      In the template footerLinkList.ftl the content.title has no '!'. So it trows en exception when no title is added.

      The line:
      <h4>${content.title}</h4>

      Should be:
      if content.title?has_content
      <h4>${content.title!}</h4>
      /#if

      Or an empty h4 will be rendered.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

              pbaerfuss Philipp Bärfuss
              cringele Christian Ringele
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: