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<#setting 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> 
31 
32<div class="rek-prediction mt-3" 
33   id="news" 
34   data-selector="#news" 
35   data-nrofhits="3" 
36   data-renderstyle="advanced" 
37   data-showimage="true" 
38   data-cols="3" 
39   
40   data-headertext="<#if locale == "sv_SE">Upptäck mer<#else>Suositeltuja sisältöjä</#if>" 
41   data-headerheadinglevel="2" 
42   data-headerid="myid" 
43   
44   data-titleheadinglevel="4" 
45   data-titlemaxlength="100" 
46   
47   data-showingress="true" 
48   data-ingressmaxlength="100" 
49   data-ingressfontclass="normal" 
50   data-pagetype="newsarticle" 
51   data-allowedlangs="${locale?replace("_","-")}" 
52   data-fallbackimgsrc="/o/parainen-site-theme/images/logo.png" 
53></div>