Fehler bei der Verarbeitung der Vorlage.
The following has evaluated to null or missing: ==> FrontendService.DDM.getTemplateByKey(ddmStructure, wcdTemplateKey) [in template "252001#252047#9281693" 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#9281693" at line 14, column 5] ----
1<#include "${fullTemplatesPath}/functions/relatedContentUtil.ftl" />
2<#-- set template name to display entries -->
3<#assign wcdTemplateKey = "WCD_DEBATTENBLOG_AUSGABEDETAIL_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>
Fehler bei der Verarbeitung der Vorlage.
The following has evaluated to null or missing: ==> FrontendService.DDM.getTemplateByKey(ddmStructure, wcdTemplateKey) [in template "252001#252047#9281707" 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#9281707" at line 14, column 3] ----
1<#include "${fullTemplatesPath}/functions/relatedContentUtil.ftl" />
2<#-- set template name to display entries -->
3<#assign wcdTemplateKey = "WCD_DEBATTENBLOG_AUSGABEDETAIL_TOC" >
4<#-- editmode -->
5<#assign editmode = FrontendService.user.isPrivilegedUser(themeDisplay) >
6
7
8<#assign groupId = themeDisplay.getScopeGroupId() >
9<#assign currentUrl = themeDisplay.getURLCurrent() >
10<#assign journalArticle = FrontendService.article.getArticleToUrl(currentUrl, groupId?number)!"" />
11
12<#if journalArticle?has_content>
13 <#assign ddmStructure = journalArticle.getDDMStructure() >
14 <#assign ddmTemplate = FrontendService.DDM.getTemplateByKey(ddmStructure, wcdTemplateKey)>
15
16 <#if ddmTemplate?has_content>
17 <#assign ddmTemplateKey = ddmTemplate.getTemplateKey() >
18
19 <div class="o-page-module">
20 <div id="current-issue__toc" class="c-toc">
21 <h4 class="o-page-headline">
22 <@liferay.language key="inhalt" />
23 </h4>
24 <div class="c-toc__content o-accordion">
25 <@liferay_journal["journal-article"]
26 articleId=journalArticle.getArticleId()
27 ddmTemplateKey=ddmTemplateKey
28 groupId=journalArticle.getGroupId()
29 />
30 </div>
31 </div>
32 </div>
33 <#elseif (editmode?? && editmode)>
34 <@errorMessage (languageUtil.get(locale, "es.existieren.kein.ddmTemplate") + ": " + wcdTemplateName ) wcdTemplateName />
35 </#if>
36<#elseif (editmode?? && editmode)>
37 <@errorMessage languageUtil.get(locale, "es.existieren.keine.entries") wcdTemplateName />
38</#if>