Länkstig

Innehållspublicerare

null Aktuellt
Fel uppstod under bearbetning av mallen.
The following has evaluated to null or missing:
==> .vars['reserved-article-display-date']  [in template "20099#20135#52231" at line 11, column 24]

----
Tip: It's the final [] step that caused this error, not those before it.
----
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: #assign displaydate = .vars["reserved...  [in template "20099#20135#52231" at line 11, column 1]
----
1<#-- 
2Web content templates are used to lay out the fields defined in a web 
3content structure. 
4 
5Please use the left panel to quickly add commonly used variables. 
6Autocomplete is also available and can be invoked by typing "${". 
7--> 
8 
9<#-- temporary --> 
10 
11<#assign displaydate = .vars['reserved-article-display-date'].data> 
12<#assign originalLocale = .locale> 
13<#setting locale = localeUtil.getDefault()> 
14<#assign displaydate = displaydate?datetime("EEE, d MMM yyyy HH:mm:ss Z")> 
15<#assign locale = originalLocale> 
16 
17<div class="publishdate">${displaydate?string["dd.MM.yyyy"]}</div> 
18 
19<div> 
20<#if Huvudbild.getData()?has_content> 
21<div style="float:left;padding: 0 20px 20px 0;"> 
22    <img <#if Huvudbild.getAttribute("alt")?has_content> alt="${Huvudbild.getAttribute("alt")}" </#if> data-fileentryid="${Huvudbild.getAttribute("fileEntryId")}" src="${Huvudbild.getData()}" />  
23</div> 
24</#if> 
25<div> 
26${.vars['reserved-article-description'].data} 
27 
28${aktuelltBody.getData()} 
29</div> 
30</div>