Design Tools

An error occurred while processing the template.
Java method "com.ch5finland.genelec.cms.service.impl.CMSContentFormatterServiceImpl.getMarkdown(String)" threw an exception when invoked on com.ch5finland.genelec.cms.service.impl.CMSContentFormatterServiceImpl object "com.ch5finland.genelec.cms.service.impl.CMSContentFormatterServiceImpl@41d4d182"; see cause exception in the Java stack trace. ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign summary = cmsContentFormatter... [in template "20116#20152#332810" at line 10, column 13] ----
1<#if cmsEntity?has_content>
2<#include "${templatesPath}/300307" />
3<#if entities?has_content>
4 <#-- <@sectionHeader title="${title}" menuTitle="${menuTitle}" cssClasses="bg-white" id="basic-main-section"/> -->
5 <#list entities as cmsEntity>
6
7 <#assign entity = cmsEntity.getField(profile, "/entity") >
8
9 <#if cmsEntity.getField(profile, "/entity/fields/summary")?has_content>
10 <#assign summary = cmsContentFormatterService.getMarkdown(cmsEntity.getLocalizedField(profile, "/entity/fields/summary"))>
11 </#if>
12 <#if cmsEntity.getField(profile, "/entity/fields/content")?has_content>
13 <#assign content = cmsContentFormatterService.getMarkdown(cmsEntity.getLocalizedField(profile, "/entity/fields/content"), 930)>
14 </#if>
15
16 <#if url?has_content>
17 <#assign pageUrl = url>
18 <#elseif cmsContentService.getUrlForEntity(themeDisplay, entity.id)?has_content>
19 <#assign pageUrl = cmsContentService.getUrlForEntity(themeDisplay, entity.id)>
20 <#elseif cmsEntity.getField(profile, "/entity/fields/url")?has_content>
21 <#assign pageUrl = cmsEntity.getField(profile, "/entity/fields/url")>
22 <#else>
23 <#assign pageUrl = "">
24 </#if>
25
26
27 <div class="article-section">
28 <#if summary?has_content>
29 <div class="product-page-intro mt-0">
30 ${summary}
31 </div>
32 </#if>
33 <#if content?has_content>
34 <div>
35 ${content}
36 </div>
37 </#if>
38 </div>
39
40 </#list>
41<#-- <@sectionFooter/> -->
42</#if>
43</#if>