Test-PDF-Link

Testlink

Hier wird ein PDF verlinkt

 

Asset-Herausgeber

Fehler bei der Verarbeitung der Vorlage.
The following has evaluated to null or missing:
==> npn  [in template "38852" at line 47, column 15]

----
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: #list 0..npn - 1 as x  [in template "38852" in function "listRandomizer" at line 47, column 5]
----
1<#assign cols=2 
2         entryHelperTemplateKey=38852 > 
3<#include templatesPath + "/" + entryHelperTemplateKey /> 
4 
5<@showHidePortletHeadline apEntries=entries /> 
6 
7<#if entries?has_content> 
8    <div class="card-columns col-count-2 mt-n3"> 
9	    <#list listRandomizer(entries) as entry> 
10            <@cardTemplate entry=entry /> 
11	    </#list> 
12	</div> 
13</#if> 
14 
15<#macro cardTemplate entry> 
16    <@getValues entry=entry; valueMap> 
17        <div class="py-3"> 
18            <div class="card mb-1 mt-0 <#if entry.getPriority() gte 2>card-highlight </#if><#if valueMap.externalContent!false>card-external </#if>${valueMap.type!""}"> 
19                <a href="${valueMap.link}" class="text-decoration-none" <#if valueMap.externalContent!false>target="_blank"</#if> > 
20                    <#if valueMap.videoSrc?? && valueMap.videoSrc!=""> 
21                        <div class="card-img-top p-3"> 
22                            <@getVideoIFrame videolink=valueMap.videoSrc /> 
23                        </div> 
24                    <#else> 
25                        <#local imageSrc=valueMap.adaptiveMediaSrc(valueMap, "2-col-image")/> 
26                        <#if imageSrc?length gt 0> 
27                            <img src="${imageSrc}" alt="${valueMap.imgAlt!""}" class="card-img-top p-3"> 
28                        </#if> 
29                    </#if> 
30                	<div class="card-body text-center"> 
31                      <div class="text-primary text-uppercase">${valueMap.subHeadline}</div> 
32                      <h3 class="card-title mb-3">${valueMap.headline}</h3> 
33                      <div class="card-text small-body">${valueMap.abstract}</div> 
34                       
35                      <#-- load async wintersport data for specific destination types --> 
36                      <#if valueMap.wsType?? && valueMap.wsType?has_content>  
37                        <#if valueMap.wscLink?? && valueMap.wscLink?has_content> 
38                          <@wsAsyncDataLoad wsType=valueMap.wsType wscLink=valueMap.wscLink /> 
39                        </#if> 
40                      </#if> 
41                       
42                  </div> 
43                </a> 
44                <#-- Apphero Bookmark and Rating --> 
45                <#if enableRatings?? && enableRatings?boolean> 
46                    <div class="card-body text-center"> 
47                        <div data-ndc="ranking-link" data-type="fav" data-score="10"  
48                            data-category-value="<#list entry.getTags() as t>${t.getName()},</#list>" 
49                            data-page-path="${valueMap.link}" 
50                            data-label="${valueMap.headline}"></div> 
51                    </div>   
52                </#if> 
53            </div> 
54        </div> 
55 
56    </@getValues> 
57</#macro>