Elemento

Asociaciones

Atrás Asociación Cultural San Roque - Villacorta

Se ha producido un error al procesar la plantilla.
The following has evaluated to null or missing:
==> RESUMEN.Direccion  [in template "38011#38039#1008984" at line 48, column 68]

----
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 validator.isNotNull(smallImageUrl...  [in template "38011#38039#1008984" at line 48, column 25]
----
1<#assign title = .vars['reserved-article-title'].data> 
2<#assign articleId=.vars["reserved-article-id"].data /> 
3<#assign description=.vars["reserved-article-description"].data /> 
4<#assign smallImageUrl=.vars["reserved-article-small-image-url"].data /> 
5<#assign date=.vars["reserved-article-display-date"].data /> 
6<#assign request = .vars['request']> 
7<#assign dateFormatted = journalTool.getDateFormat(date, "dd MMMM yyyy", locale, timezone)> 
8<#assign categories = journalTool.getCategories(scopeGroupId, articleId, []) !/> 
9<#assign imageTitle = title> 
10<#assign assetEntry = journalTool.getAssetEntryByArticleId(groupId, articleId) !/> 
11<#assign journalArticle = journalTool.getJournalArticleByAssetEntry(assetEntry) !/> 
12<#assign ddmStructureNameNormalize = "template-detail-${friendlyURLNormalizerTool.normalize(journalArticle.getDDMStructure().getName(localeUtil.getDefault()))}" /> 
13 
14<#if RESUMEN??> 
15	<#if RESUMEN.Imagen??> 
16		<#if validator.isNotNull(RESUMEN.Imagen.getData())> 
17			<#assign smallImageUrl = RESUMEN.Imagen.getData()/> 
18		</#if> 
19	</#if> 
20 
21	<#if RESUMEN.TituloImagen??> 
22		<#if validator.isNotNull(RESUMEN.TituloImagen.getData())> 
23			<#assign imageTitle = RESUMEN.TituloImagen.getData()/> 
24		</#if> 
25	</#if> 
26</#if> 
27 
28<article class="template template-detail ${ddmStructureNameNormalize}"> 
29 
30	<#assign showAssetTitle = getterUtil.getBoolean(portletTool.getPreference(request, "showAssetTitle"), false) !/> 
31	<#assign portletDisplayName = themeDisplay.getPortletDisplay().getPortletName() !/>		 
32    <#if portletDisplayName == "com_liferay_asset_publisher_web_portlet_AssetPublisherPortlet" && !showAssetTitle> 
33		<div class="portlet-title-wrapper"> 
34			<div class="h3 border-bottom">${title}</div>	 
35		</div> 
36	<#elseif portletDisplayName == "com_liferay_journal_content_web_portlet_JournalContentPortlet"> 
37		<div class="portlet-title-wrapper"> 
38			<div class="h3 border-bottom">${title}</div>	 
39		</div> 
40	<#elseif portletDisplayName != "com_liferay_asset_publisher_web_portlet_AssetPublisherPortlet" && portletDisplayName != "com_liferay_journal_content_web_portlet_JournalContentPortlet"> 
41		<div class="portlet-title-wrapper"> 
42			<div class="h3 border-bottom">${title}</div>	 
43		</div> 
44	</#if> 
45 
46    <section class="row flex-row-reverse mt-4"> 
47		<#if RESUMEN??> 
48			<#if validator.isNotNull(smallImageUrl) || RESUMEN.Direccion.data?has_content || RESUMEN.Telefono.data?has_content || RESUMEN.PersonaContacto.data?has_content> 
49				<div class="<#if validator.isNotNull(Historia.data) || validator.isNotNull(JuntaDirectiva.getSiblings()) || validator.isNotNull(Socios.getSiblings())>col-sm-4</#if>"> 
50					<#if validator.isNotNull(smallImageUrl)> 
51						<a href="${smallImageUrl}" title="Imagen ${imageTitle}" class="image-wrapper image-wrapper-cover image-wrapper-style lightbox" style="background-image: url('${dlTool.getThumbnail(smallImageUrl, 2)}');"> 
52							<img src="${dlTool.getThumbnail(smallImageUrl, 2)}" alt="Imagen ${imageTitle}" /> 
53							<span class="hide-accessible">${imageTitle}</span> 
54						</a> 
55					</#if> 
56					 
57					<#if RESUMEN.Direccion.data?has_content || RESUMEN.Telefono.data?has_content || RESUMEN.PersonaContacto.data?has_content> 
58						<div class="article-list-wrapper"> 
59							<ul class="article-list list-unstyled article-list-address">							 
60								<#if RESUMEN.Direccion.data?has_content> 
61									<li class="article-list-item"> 
62										<span class="far fa-map"> 
63											<span class="hide-accessible">${languageUtil.get(request,"address")}</span> 
64										</span> 
65										<span class="field-wrapper"> 
66											<span class="field">${languageUtil.get(request, "address")}:</span> 
67											<span class="text">${RESUMEN.Direccion.data}</span> 
68										</span> 
69									</li> 
70								</#if> 
71								 
72								<#if RESUMEN.PersonaContacto.data?has_content> 
73									<li class="article-list-item"> 
74										<span class="far fa-user"> 
75											<span class="hide-accessible">${languageUtil.get(request,"contact")}</span> 
76										</span> 
77										<span class="field-wrapper"> 
78											<span class="field">${languageUtil.get(request, "contact")}:</span> 
79											<span class="text">${RESUMEN.PersonaContacto.data}</span> 
80										</span> 
81									</li> 
82								</#if> 
83 
84								<#if RESUMEN.Telefono.data?has_content> 
85									<li class="article-list-item"> 
86										<span class="fas fa-phone-alt"> 
87											<span class="hide-accessible">${languageUtil.get(request,"phone")}</span> 
88										</span> 
89										<span class="field-wrapper"> 
90											<span class="field">${languageUtil.get(request, "phone")}:</span> 
91											<span class="text">${RESUMEN.Telefono.data}</span> 
92										</span> 
93									</li> 
94								</#if> 
95							</ul> 
96						</div> 
97					</#if> 
98				</div> 
99			</#if> 
100		</#if> 
101		 
102		<#if validator.isNotNull(Historia.data) || validator.isNotNull(JuntaDirectiva.getSiblings()) || validator.isNotNull(Socios.getSiblings())> 
103			<div class="<#if validator.isNotNull(smallImageUrl) > col-sm-8 </#if> col-12"> 
104				<#if validator.isNotNull(Historia.data)> 
105					<div class="text">${Historia.data}</div> 
106				</#if> 
107				 
108				<#if (JuntaDirectiva.Nombre.data?has_content || JuntaDirectiva.Cargo.data?has_content)&& validator.isNotNull(JuntaDirectiva.getSiblings()) && (JuntaDirectiva.getSiblings()?size >0)> 
109					<section class="my-4"> 
110						<div class="h4">Junta Directiva</div> 
111						<dl class="d-flex flex-wrap"> 
112							<#list JuntaDirectiva.getSiblings() as Item> 
113								<#if JuntaDirectiva.Nombre.data?has_content> 
114									<dt class="w-25 py-2 my-2">Nombre</dt> 
115									<dd class="w-75 py-2 border-bottom my-2">${Item.Nombre.data}</dd> 
116								</#if> 
117								<#if JuntaDirectiva.Cargo.data?has_content> 
118									<dt class="w-25 py-2 my-2">Cargo</dt> 
119									<dd class="w-75 py-2 border-bottom my-2">${Item.Cargo.data}</dd> 
120								</#if> 
121							</#list> 
122						</dl> 
123					</section> 
124				</#if> 
125				 
126				<#if Socios.data?has_content && Socios.getSiblings()?has_content && (Socios.getSiblings()?size >0)> 
127					<section class="my-4"> 
128						<div class="h4">Socios</div> 
129						<#list Socios.getSiblings() as Item> 
130							<div class="mb-4"> 
131								<#if validator.isNotNull(Item.Descripcion.data)> 
132									<span class="text">${Item.Descripcion.data}</span> 
133								</#if> 
134								 
135								<#assign document = journalTool.getHTMLDocuments(Item.Documento.getSiblings()) /> 
136								<#if validator.isNotNull(document)> 
137									<section class="documents mt-2">${document}</section> 
138								</#if> 
139							</div> 
140						</#list> 
141					</section> 
142				</#if> 
143			</div> 
144		</#if> 
145		 
146    </section> 
147</article>