Um erro ocorreu enquanto processava o modelo.
The following has evaluated to null or missing: ==> settings.firstItemOpened [in template "20116#20152#72119" at line 8, column 10] ---- 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: #if settings.firstItemOpened.getData(... [in template "20116#20152#72119" at line 8, column 5] ----
1<#if settings.title.getData() != "">
2 <h3 class="highlight-title text--center text--uppercase">${settings.title.getData()}</h3>
3</#if>
4
5<div class="card card--shadow margin--bottom-2x">
6 <#list itens.getSiblings() as item>
7
8 <#if settings.firstItemOpened.getData() == "true" && item?is_first>
9 <#assign openedClass = "show">
10 <#assign collapsedClass = "">
11 <#else>
12 <#assign openedClass = "">
13 <#assign collapsedClass = "collapsed">
14 </#if>
15
16 <div class="accordion">
17 <h4 class="accordion__title">
18 <a class="accordion__trigger ${collapsedClass} text--uppercase" role="button" data-toggle="collapse" href="#item_${randomNamespace}_${item?counter}">${item.itemTitle.getData()}</a>
19 </h4>
20
21 <div class="collapse ${openedClass}" id="item_${randomNamespace}_${item?counter}">
22 <div class="accordion__content">
23
24 <#if item.itemWebContent.getData() != "">
25 <#assign article = item.itemWebContent.getData() />
26 <#assign articleJson = jsonFactoryUtil.createJSONObject(article) />
27
28 <@liferay_asset["asset-display"]
29 className=articleJson.className
30 classPK=getterUtil.getLong(articleJson.classPK, 0)
31 template="full_content"
32 />
33
34 <#else>
35 ${item.itemContent.getData()}
36 </#if>
37
38 </div>
39 </div>
40 </div>
41 </#list>
42</div>