An error occurred while processing the template.
The following has evaluated to null or missing: ==> FrontendService.DDM.getTemplateByKey(ddmStructure, wcdTemplateKey) [in template "252001#252047#9281677" at line 14, column 28] ---- Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign ddmTemplate = FrontendService... [in template "252001#252047#9281677" at line 14, column 5] ----
1<#include "${fullTemplatesPath}/functions/relatedContentUtil.ftl" />
2<#-- set template name to display entries -->
3<#assign wcdTemplateKey = "WCD_DEBATTENBLOG_ARTIKELDETAIL_INTRO" >
4<#-- editmode -->
5<#assign editmode = FrontendService.user.isPrivilegedUser(themeDisplay) >
6
7<#-- get entry from url -->
8<#assign currentUrl = themeDisplay.getURLCurrent() >
9<#assign entry = FrontendService.article.getArticleToUrl(currentUrl, groupId?number)! >
10
11<#if entry?has_content>
12 <#assign ddmStructure = entry.getDDMStructure()!"" >
13 <#if ddmStructure?has_content>
14 <#assign ddmTemplate = FrontendService.DDM.getTemplateByKey(ddmStructure, wcdTemplateKey)>
15
16 <#if ddmTemplate?has_content>
17 <#assign articleId = entry.articleId >
18 <#assign ddmTemplateKey = ddmTemplate.getTemplateKey() >
19 <#assign groupId = entry.getGroupId() >
20 <#assign resourcePrimKey = entry.getResourcePrimKey() >
21
22 <@liferay_journal["journal-article"]
23 articleId=articleId
24 ddmTemplateKey=ddmTemplateKey
25 groupId=groupId
26 />
27
28 <#if (editmode?? && editmode)>
29 ${FrontendService.article.getEditArticleHtml(resourcePrimKey, themeDisplay)}
30 </#if>
31
32 <#elseif (editmode?? && editmode)>
33 <@errorMessage (languageUtil.get(locale, "es.existieren.kein.ddmTemplate") + ": " + wcdTemplateName) wcdTemplateName />
34 </#if>
35 <#elseif (editmode?? && editmode)>
36 <@errorMessage languageUtil.get(locale, "es.existieren.keine.ddmStructure") wcdTemplateName />
37 </#if>
38<#elseif (editmode?? && editmode)>
39 <@errorMessage languageUtil.get(locale, "es.existieren.keine.entries") wcdTemplateName />
40</#if>
An error occurred while processing the template.
The following has evaluated to null or missing: ==> FrontendService.DDM.getTemplateByKey(ddmStructure, wcdTemplateKey) [in template "252001#252047#9281640" at line 14, column 26] ---- Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign ddmTemplate = FrontendService... [in template "252001#252047#9281640" at line 14, column 3] ----
1<#include "${fullTemplatesPath}/functions/relatedContentUtil.ftl" />
2
3<#-- set template name to display entries -->
4<#assign wcdTemplateKey = "WCD_DEBATTENBLOG_ARTIKELDETAIL_CONTENT" >
5<#-- editmode -->
6<#assign editmode = FrontendService.user.isPrivilegedUser(themeDisplay) >
7
8<#-- get entry from url -->
9<#assign currentUrl = themeDisplay.getURLCurrent() >
10<#assign entry = FrontendService.article.getArticleToUrl(currentUrl, groupId?number)! >
11
12<#if entry?has_content>
13 <#assign ddmStructure = entry.getDDMStructure()!"" >
14 <#assign ddmTemplate = FrontendService.DDM.getTemplateByKey(ddmStructure, wcdTemplateKey)>
15
16 <#if ddmTemplate?has_content>
17 <#assign articleId = entry.articleId >
18 <#assign ddmTemplateKey = ddmTemplate.getTemplateKey() >
19 <#assign groupId = entry.getGroupId() >
20 <#assign resourcePrimKey = entry.getResourcePrimKey() >
21
22 <@liferay_journal["journal-article"]
23 articleId=articleId
24 ddmTemplateKey=ddmTemplateKey
25 groupId=groupId
26 />
27
28 <#elseif (editmode?? && editmode)>
29 <@errorMessage (languageUtil.get(locale, "es.existieren.kein.ddmTemplate") + ": " + wcdTemplateName) wcdTemplateName />
30 </#if>
31<#elseif (editmode?? && editmode)>
32 <@errorMessage languageUtil.get(locale, "es.existieren.keine.entries") wcdTemplateName />
33</#if>
An error occurred while processing the template.
The following has evaluated to null or missing: ==> FrontendService.DDM.getTemplateByKey(ddmStructure, wcdTemplateKey) [in template "252001#252047#9281687" at line 14, column 28] ---- Tip: If the failing expression is known to legally refer to something that's sometimes null or missing, either specify a default value like myOptionalVar!myDefault, or use <#if myOptionalVar??>when-present<#else>when-missing</#if>. (These only cover the last step of the expression; to cover the whole expression, use parenthesis: (myOptionalVar.foo)!myDefault, (myOptionalVar.foo)?? ---- ---- FTL stack trace ("~" means nesting-related): - Failed at: #assign ddmTemplate = FrontendService... [in template "252001#252047#9281687" at line 14, column 5] ----
1<#include "${fullTemplatesPath}/functions/relatedContentUtil.ftl" />
2<#-- set template name to display entries -->
3<#assign wcdTemplateKey = "WCD_DEBATTENBLOG_ARTIKELDETAIL_THEMEN" >
4<#-- editmode -->
5<#assign editmode = FrontendService.user.isPrivilegedUser(themeDisplay) >
6
7<#-- get entry from url -->
8<#assign currentUrl = themeDisplay.getURLCurrent() >
9<#assign entry = FrontendService.article.getArticleToUrl(currentUrl, groupId?number)! >
10
11<#if entry?has_content>
12 <#assign ddmStructure = entry.getDDMStructure()!"" >
13 <#if ddmStructure?has_content>
14 <#assign ddmTemplate = FrontendService.DDM.getTemplateByKey(ddmStructure, wcdTemplateKey)>
15
16 <#if ddmTemplate?has_content>
17 <#assign articleId = entry.articleId >
18 <#assign ddmTemplateKey = ddmTemplate.getTemplateKey() >
19 <#assign groupId = entry.groupId >
20
21 <@liferay_journal["journal-article"]
22 articleId=articleId
23 ddmTemplateKey=ddmTemplateKey
24 groupId=groupId
25 />
26
27 <#elseif (editmode?? && editmode)>
28 <@errorMessage (languageUtil.get(locale, "es.existieren.kein.ddmTemplate") + ": " + wcdTemplateName) wcdTemplateName />
29 </#if>
30
31 </#if>
32<#elseif (editmode?? && editmode)>
33 <@errorMessage languageUtil.get(locale, "es.existieren.keine.entries") wcdTemplateName />
34</#if>