Publicador de activos
Se ha producido un error al procesar la plantilla.
The following has evaluated to null or missing:
==> EnlaceFieldSet.EnlaceFieldSetFieldSetEnlaceInterno [in template "34007#34042#308764" at line 15, column 33]
----
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: #assign link = EnlaceFieldSet.EnlaceF... [in template "34007#34042#308764" at line 15, column 17]
----
1<#assign layoutLocalServiceUtil = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutLocalService") />
2
3<#assign objThemeDisplay = themeDisplay />
4
5<#assign title = .vars['reserved-article-title'].data>
6<#assign description = .vars['reserved-article-description'].data >
7
8<div class="template template-banner">
9
10 <#assign link = "#" />
11
12 <#if EnlaceFieldSet.Enlace.getData()?has_content>
13 <#assign link = EnlaceFieldSet.Enlace.getData() />
14 <#elseif EnlaceFieldSet.EnlaceFieldSetFieldSet.EnlaceInterno.getData()?has_content>
15 <#assign link = EnlaceFieldSet.EnlaceFieldSetFieldSetEnlaceInterno.getFriendlyUrl() />
16 </#if>
17
18 <a href="${link}" title="${title}">
19
20 <#if validator.isNotNull(FotoFieldSet.FotoFieldSetFieldSet.FotoNueva.getData()) || validator.isNotNull(FotoFieldSet.Foto.getData())>
21
22 <#assign image = "" />
23
24 <#if validator.isNotNull(FotoFieldSet.FotoFieldSetFieldSet.FotoNueva.getData())>
25 <#assign image = htmlUtil.escape(FotoFieldSet.FotoFieldSetFieldSet.FotoNueva.getData()) />
26 <#else>
27 <#assign image = htmlUtil.escape(FotoFieldSet.Foto.getData()) />
28 </#if>
29
30 <#assign alt = title />
31 <#if validator.isNotNull(FotoFieldSet.FotoFieldSetFieldSet.Alt.getData())>
32 <#assign alt = FotoFieldSet.FotoFieldSetFieldSet.Alt.getData() />
33 </#if>
34
35 <span class="icon">
36 <img src="${image}" alt="${alt}" />
37 </span>
38
39 </#if>
40
41 <span class="info">
42
43 <span class="title">${title}</span>
44
45 <#if validator.isNotNull(Destacado.getData())>
46 <span class="important">${Destacado.getData()}</span>
47 </#if>
48
49 <#if validator.isNotNull(Texto.getData())>
50 <span class="text">${Texto.getData()}</span>
51 </#if>
52
53 </span>
54 </a>
55
56</div>