Si è verificato un errore nell'elaborarazione del modello.
The following has evaluated to null or missing: ==> adt_tool.getFreemarkerMap [in template "51632#51678#3828908" at line 12, column 38] ---- 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: review = adt_tool.getFreemarkerMap(cu... [in template "51632#51678#3828908" at line 12, column 29] ----
1<#if entries?has_content>
2 <#assign
3 dateTimeFormat = languageUtil.get(locale, "HH:mm, dd MMM yyyy")
4 journalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")
5 />
6 <div class="container">
7 <div class="row">
8 <div class="col-12">
9 <div class="row">
10 <#list entries as curEntry>
11 <#assign
12 review = adt_tool.getFreemarkerMap(curEntry.getClassPK(), locale)
13 date = curEntry.getPublishDate()
14 journalArticle = journalService.getLatestArticle(curEntry.getClassPK(),0)
15 imgSmallUrl = ""
16 title = journalArticle.getTitle(locale)
17 abstract = ""
18 />
19
20 <#if review.Cover.value?? && review.Cover.value.url?has_content>
21 <#assign imgSmallUrl = review.Cover.value.url />
22 <#else>
23 <#assign abstract = journalArticle.getDescription(locale) />
24 </#if>
25
26 <div class="col-md-6 col-lg-4">
27 <#assign type = "sella-card--blue" />
28 <#include "${templatesPath}/SELLA-CARD" />
29 </div>
30 </#list>
31 </div>
32 </div>
33 </div>
34 </div>
35</#if>