JIRA Test - PM PNT
Er trad een fout op tijdens de verwerking van de sjabloon.
The following has evaluated to null or missing: ==> image [in template "44830#44856#290051" at line 1, 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 image.getSiblings()?has_content [in template "44830#44856#290051" at line 1, column 1] ----
1<#if image.getSiblings()?has_content>
2
3 <section class="carousel-container">
4
5 <div class="carousel slide" data-ride="carousel" id='carousel-<@portlet.namespace />'>
6
7 <ol class="carousel-indicators hidden-sm hidden-xs">
8
9 <#list image.getSiblings() as cur_img>
10
11 <li class="${(cur_img?counter == 1)?then('active', '')}" data-slide-to="${(cur_img?counter == 1)?then(0, (cur_img?counter - 1))}" data-target='carousel-<@portlet.namespace />'></li>
12
13 </#list>
14
15 </ol>
16
17 <div class="carousel-inner" role="listbox">
18
19 <#list image.getSiblings() as cur_innerImage>
20
21 <div class="${(cur_innerImage?counter == 1)?then('active', '')} item">
22
23 <div class="aspect-ratio aspect-ratio-custom aspect-ratio-middle">
24
25 <img alt="${cur_Imageay84.getAttribute("alt")}" data-fileentryid="${cur_Imageay84.getAttribute("fileEntryId")}" src="${cur_Imageay84.getData()}" />
26
27 </div>
28
29 </div>
30
31 </#list>
32
33 </div>
34
35
36 <a class="left carousel-control" href='#carousel-<@portlet.namespace />' role="button" data-slide="prev">
37
38 <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
39
40
41 <span class="sr-only">Previous</span>
42
43 </a>
44
45
46 <a class="right carousel-control" href='#carousel-<@portlet.namespace />' role="button" data-slide="next">
47
48 <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
49
50
51 <span class="sr-only">Next</span>
52
53 </a>
54
55 </div>
56
57 </section>
58
59</#if>