[MGNLSTK-544] FooterLinkList throws freemarker exception without a title Created: 11/Dec/09  Updated: 23/Jan/13  Resolved: 17/Dec/09

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

Type: Bug Priority: Major
Reporter: Christian Ringele Assignee: Philipp Bärfuss
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Template:
Acceptance criteria:
Empty

 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.


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