Fehler bei der Verarbeitung der Vorlage.
The following has evaluated to null or missing: ==> serviciosRest.servicioDestacados [in template "24121366510601#31740#null" at line 13, column 18] ---- 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: #list serviciosRest.servicioDestacado... [in template "24121366510601#31740#null" at line 13, column 11] ----
1<#if (ObjectEntry_objectEntryId.getData())??>
2 <#assign idObject= ObjectEntry_objectEntryId.getData() />
3 <#assign scopeKey= themeDisplay.getScopeGroupId() />
4
5 <#assign ofertaRest= restClient.get("/c/vivaofertas/${idObject}") />
6 <#if (ofertaRest.r_ofertas_c_vivaHotelId)??>
7 <#assign idHotel= ofertaRest.r_ofertas_c_vivaHotelId />
8 <#assign serviciosRest = restClient.get("/c/vivahotels/${idHotel}?nestedFields=servicioDestacados")/>
9
10 <section class="offer-activities">
11 <div class="container">
12 <div class="offer-activities-list">
13 <#list serviciosRest.servicioDestacados as servicio>
14
15 <div class="offer-activities-list-item">
16 <div class="imgItem">
17 <img src="${servicio.imagenPrincipal.link.href}" alt="imgItem" class="icon" />
18 </div>
19 <div class="titleItem">
20 <p class="${((.data_model['ObjectRelationship#C_VIVAHotel#ofertas_tipo'].getData())?? && .data_model['ObjectRelationship#C_VIVAHotel#ofertas_tipo'].getData() != 'Default')?then('text-adults','text-viva')}">${servicio.nombre}</p>
21 </div>
22 </div>
23
24 </#list>
25
26 </div>
27 </div>
28 </section>
29
30 </#if>
31
32</#if>