Se ha producido un error al procesar la plantilla.
The following has evaluated to null or missing:
==> cur_oferta.imagenOferta [in template "20101#20128#ADIF-TIENDA-ESTACION-TEMPLATE" at line 55, 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: #if cur_oferta.imagenOferta.getData()... [in template "20101#20128#ADIF-TIENDA-ESTACION-TEMPLATE" at line 55, column 33]
----
1<div class="detalle-contenido-generico p-0">
2
3 <#-- <div class="col-12 detalle-cg-titulo text-left pl-0 pb-3">${titulo.getData()} ${referencia.getData()}</div> -->
4
5 <@adif.header title="${nombre.getData()}" cssClass="detalle-cg-titulo"/>
6 <div class="col-12 detalle-cg-imagen d-lg-flex p-3">
7
8 <#if icono?? && icono.getData()?? && icono.getData() != "">
9
10 <img class="img-tienda" alt="${nombre.getData()}" src="${icono.getData()}" />
11
12 </#if>
13
14
15 <div class=" descripcion-shop d-flex flex-column justify-content-around">
16 <div role="paragraph" class="descripcion-shopInside p-0 p-lg-5 pb-4">
17 <#if tipoDeTienda.getData()?? && tipoDeTienda.getData() != "">
18 <div class="shopType pb-1 pl-0 text-left"><@liferay.language key="es.adif.estacion.tiendas.tipo${tipoDeTienda.getData()}"/></div>
19 </#if>
20 <#if descripcion.getData()?? && descripcion.getData() != "">
21 <div class="pb-1 pl-0 text-left"> <p>${descripcion.getData()}</p></div>
22 </#if>
23 <#if telefono.getData()?? && telefono.getData() != "">
24 <div class="data-tienda"><@liferay.language key="es.adif.main.telefono"/>:<span> ${telefono.getData()} </span></div>
25 </#if>
26 <#if web.getData()?? && web.getData() != "">
27 <div class="data-tienda"><@liferay.language key="es.adif.main.web" />: <span><a href="https://${web.getData()}">${web.getData()}</a></span></div>
28 </#if>
29 <#if numLocal.getData()?? && numLocal.getData() != "">
30 <div class="data-tienda"><@liferay.language key="es.adif.inmuebles.espacio.numero" />: <span>${numLocal.getData()} </span></div>
31 </#if>
32 <#if horario.getData()?? && horario.getData() != "">
33 <div class="data-tienda"><@liferay.language key="es.adif.inmuebles.espacio.horario" />: <span>${horario.getData()} </span></div>
34 </#if>
35 </div>
36 </div>
37 </div>
38
39 <#if contenido?? && contenido.getData()?? && contenido.getData() != "">
40 <div class="py-4">
41 ${contenido.getData()}
42 </div>
43 </#if>
44
45
46 <#if ofertas ?? && ofertas.getSiblings()?has_content>
47 <div class="py-4"> <h3><@liferay.language key="es.adif.estacion.ofertas"/>:</h3></div>
48 <@liferay.language key="there-are-no-menu-items-to-display" />
49 <div class="row mx-n2">
50 <#list ofertas.getSiblings() as cur_oferta >
51
52
53 <div class="col-12 mt-3 mt-n4 mb-5 mb-md-4 p-2">
54 <div class="adif-licitacion-apaisado-card-wrapper">
55 <#if cur_oferta.imagenOferta.getData()?? && cur_oferta.imagenOferta.getData() != "">
56 <div class="adif-subasta-card-image-wrapper" style="background-image:url('${cur_oferta.imagenOferta.getData()}');">
57 <img alt="${cur_oferta.imagenOferta.getAttribute("alt")}" data-fileentryid="${cur_oferta.imagenOferta.getAttribute("fileEntryId")}" src="${cur_oferta.imagenOferta.getData()}" />
58 </div>
59 <div class="p-3 adif-subasta-card-text-wrapper">
60 <div class="datos pt-3">
61 <h4 class="adif-subasta-caracteristica-titulo pt-2 pl-2 pr-1 mb-0">${cur_oferta.nombreOferta.getData()}</h4>
62 <div class="adif-subasta-caracteristica-titulo pt-2 pl-2 pr-1">${cur_oferta.descripcionOferta.getData()}</div>
63 </div>
64
65
66 <#else>
67 <div class="p-3 adif-subasta-card-text-wrapper w-100">
68 <div class="datos pt-3">
69 <h4 class="adif-subasta-caracteristica-titulo pt-2 pl-2 pr-1 mb-0">${cur_oferta.nombreOferta.getData()}</h4>
70 <div class="adif-subasta-caracteristica-titulo pt-2 pl-2 pr-1">${cur_oferta.descripcionOferta.getData()}</div>
71 </div>
72 </#if>
73 </div>
74 </div>
75 </div>
76 </#list>
77 </div>
78 </#if>
79</div>
80<style>
81.data-tienda {
82 font-weight: 600;
83 font-size: 0.9rem;
84 color: #00292e;
85}
86.data-tienda span {
87 color: #666;
88 font-size: 14px;
89 margin-left: 0.5rem;
90}
91.imagen-tienda {
92 background-position: center center;
93 background-size: contain;
94 height: auto;
95 background-repeat: no-repeat;
96}
97.imagen-tienda img {
98 display: none;
99}
100.img-tienda {
101 width: 100%;
102 object-fit: contain;
103 margin-bottom: 2rem;
104
105}
106.descripcion-shop {
107 width: 100%;
108}
109.shopType {
110 margin-bottom: 1rem;
111 font-size: 1rem;
112}
113@media (min-width: 1000px) {
114 .img-tienda {
115 width: 30%;
116 object-fit: contain;
117 margin-bottom: 0;
118
119}
120.descripcion-shop {
121 width: 70%;
122}
123.shopType {
124 margin-bottom: 0.5rem;
125 font-size: 1.5rem;
126}
127}
128</style>