Aktuality - Tiskový servis

Aktuality

Při zpracování šablony došlo k chybě.
The following has evaluated to null or missing:
==> macros.printClanekAsArticlePreviewListItem  [in template "20097#20123#3078601" at line 16, column 19]

----
Tip: It's the step after the last dot that caused this error, not those before it.
----
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: @macros.printClanekAsArticlePreviewLi...  [in template "20097#20123#3078601" at line 16, column 17]
----
1<#include "${templatesPath}/COMMON_SETUP" /> 
2<#import "${globalTemplatesPath}/GLOBAL_QUERY" as queries /> 
3 
4<#if macros.getPageNumber() == 1> 
5    <#assign 
6        structClanek = global.getJAStructure(structureName.CLANEK) 
7 
8        pripnuteClankyResult = macros.getPripnuteClankyArticles(structClanek, aeqStartOrEnd_UNLIMITED, aeqStartOrEnd_UNLIMITED) 
9        pripnuteClanky = pripnuteClankyResult.results![] 
10        clankyData = macros.prepareDataClankyFromArticles(pripnuteClanky) 
11    /> 
12 
13    <#if clankyData?has_content> 
14        <ul class="bno-list--plain"> 
15            <#list clankyData as clanekData> 
16                <@macros.printClanekAsArticlePreviewListItem 
17                    data=clanekData 
18                    perexLength=0 
19                    doNotShowIfPinned=false 
20                    imageWidth=200 
21                    imageHeight=100 
22                /> 
23            </#list> 
24        </ul> 
25 
26        <hr class="u-mb--25" /> 
27    </#if> 
28</#if> 
Při zpracování šablony došlo k chybě.
The following has evaluated to null or missing:
==> macros.printClanekAsArticlePreviewListItem  [in template "20097#20123#317821" at line 9, column 15]

----
Tip: It's the step after the last dot that caused this error, not those before it.
----
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: @macros.printClanekAsArticlePreviewLi...  [in template "20097#20123#317821" at line 9, column 13]
----
1<#include "${templatesPath}/COMMON_SETUP" /> 
2 
3<#if entries?has_content> 
4    <#-- Na prvej stranke zobrazujeme pripnute clanky, takze len tam nebudeme taketo clanky zobrazovat v sezname --> 
5    <#assign doNotShowIfPinned = macros.getPageNumber() == 1 /> 
6    <#assign clankyData = macros.prepareDataClankyFromEntries(entries) /> 
7    <ul class="bno-list--plain"> 
8        <#list clankyData as clanekData> 
9            <@macros.printClanekAsArticlePreviewListItem 
10                data=clanekData 
11                perexLength=0 
12                doNotShowIfPinned=doNotShowIfPinned 
13                imageWidth=200 
14                imageHeight=100 
15                id=("clanek-" + (clanekData?index + 1)) 
16            /> 
17        </#list> 
18    </ul> 
19</#if> 

Metropolitan