Asset Publisher

World Web Forum
Fehler bei der Verarbeitung der Vorlage.
The following has evaluated to null or missing:
==> kontaktperson  [in template "181685#181719#458995" at line 18, column 6]

----
Tip: If the failing expression is known to be 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: #if kontaktperson.getData() != "none"  [in template "181685#181719#458995" at line 18, column 1]
----
1<article class="post postdetail blogdetail container"> 
2    <#if BildDetail.getData()?? && BildDetail.getData() != ""> 
3        <div class="postimage"> 
4            <#--if BildDetail.getData()?? && BildDetail.getData() != ""> 
5            	<img alt="${BildDetail.getAttribute("alt")}" src="${BildDetail.getData()}" /> 
6        	<#else> 
7            	<#if BildTeaser.getData()?? && BildTeaser.getData() != ""> 
8                	<img alt="${BildTeaser.getAttribute("alt")}" src="${BildTeaser.getData()}" /> 
9                </#if> 
10            </#if--> 
11            <img alt="${BildDetail.getAttribute("alt")}" src="${BildDetail.getData()}" /> 
12        </div> 
13    </#if> 
14    <h1>${.vars['reserved-article-title'].data}</h1> 
15    ${Inhalt.getData()} 
16     <!--span class="date">${.vars['reserved-article-create-date'].data}</span--> 
17</article> 
18<#if kontaktperson.getData() != "none"> 
19 
20    <#assign 
21        articleID = kontaktperson.getData()?keep_after("-") 
22        articleGroupID = kontaktperson.getData()?keep_before("-") 
23        instanceID = randomNamespace 
24    /> 
25    <#assign VOID = freeMarkerPortletPreferences.setValue("groupId", articleGroupID) /> 
26    <#assign VOID = freeMarkerPortletPreferences.setValue("articleId", articleID) /> 
27    <@liferay_portlet["runtime"] 
28        defaultPreferences="${freeMarkerPortletPreferences}" 
29        portletProviderAction=portletProviderAction.VIEW 
30        instanceId=instanceID 
31        portletName="com_liferay_journal_content_web_portlet_JournalContentPortlet" 
32    /> 
33    ${freeMarkerPortletPreferences.reset()} 
34</#if> 
35<style> 
36.h2{ margin:0; } 
37.h2 > span{ display:none; } 
38</style>