Categories Navigation

Categories Navigation

An error occurred while processing the template.
The following has evaluated to null or missing:
==> cur_ficherosRelacionados  [in template "217051#217099#TPL_NOTICIA" at line 78, column 59]

----
Tip: If the failing expression is known to be 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: curEnlaceId = cur_ficherosRelacionado...  [in template "217051#217099#TPL_NOTICIA" at line 78, column 46]
	- Reached through: #assign-container  [in template "217051#217099#TPL_NOTICIA" at line 78, column 37]
----
1<#assign dlFileEntryLocalService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryLocalService") 
2		 journalArticleService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") 
3		 journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")	 
4		 assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") 
5         assetCategoryService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService")  
6/>    
7         		 
8<#if ! themeDisplay ? has_content>         
9    <#assign liferay_theme = PortletJspTagLibs["/META-INF/liferay-theme.tld"] /> 
10    <@liferay_theme["defineObjects"] /> 
11</#if> 
12		                 
13<h2 class="mb-0">${titulo.getData()}</h2> 
14  				                      	 
15<div class="plantilla-articulo plantilla-detalle-contenido">      
16    <div class="link-print"><a class="print" href="javascript:window.print();" title="<@liferay.language key="webasturias.general.print" />"><@liferay.language key="webasturias.general.print" /></a></div> 
17     
18    <#assign fecha_Data = getterUtil.getString(fecha.getData())> 
19	<#if validator.isNotNull(fecha_Data)> 
20		<#assign fecha_DateObj = dateUtil.parseDate("yyyy-MM-dd", fecha_Data, locale)> 
21		<div class="date">${dateUtil.getDate(fecha_DateObj, "dd/MM/yyyy", locale)} </div> 
22	</#if>	                             
23     
24    <#assign journalArticleId = .vars['reserved-article-id'].data 
25			 journalArticle = journalArticleService.getLatestArticle(groupId,journalArticleId) 
26     		 assetEntry = assetEntryLocalService.fetchEntry("com.liferay.journal.model.JournalArticle", journalArticle.getResourcePrimKey()?number) 
27 		 	 listadoCategorias = assetCategoryService.getAssetEntryAssetCategories(assetEntry.getEntryId()) 
28 	/>	 
29         
30    <#if resumen.getData()?? && resumen.getData() != ""> 
31		<div class="summary">${resumen.getData()}</div> 
32	</#if>	 
33     
34	<div class="row">    
35		<#if imagen.getData()?? && imagen.getData() != ""> 
36			<div class="image col-md-3 row-image">					 
37				<div class="imagen"> 
38					<img data-fileentryid="${imagen.getAttribute("fileEntryId")}" alt="${imagen.getAttribute("alt")}" src="${imagen.getData()}" />		 
39				</div> 
40			</div>						 
41			<div class="contenido-article col-md-9">  
42		<#else> 
43			<div class="contenido-article col-md-12">  
44		</#if> 	 
45				<#if descripcion.getData()?? && descripcion.getData() != ""> 
46					<div class="description">   
47						${descripcion.getData()} 
48					</div><!-- description--> 
49				</#if>					 
50									 
51			</div><!-- contenido-article col-md-9 -->					 
52	</div><!-- row -->	 
53	 
54	<#if (ficherosRelacionados?has_content && ficherosRelacionados.getSiblings()?has_content && ficherosRelacionados.getSiblings()[0].getData()?has_content)> 
55        <div class="contenido-article information ficheros-relacionados"> 
56              
57            <p class="subtitulo"><@liferay.language key="transparencia.article.documentos" /></p>         
58            <ul> 
59                <#list ficherosRelacionados.getSiblings() as cur_ficherosRelacionados>                                 
60                    <#if cur_ficherosRelacionados.getData() ? has_content> 
61                        <#assign curFicheroId=cur_ficherosRelacionados.getData()?keep_after("\"classPK\":\"")?keep_before("\"")/> 
62                        <#if curFicheroId? has_content> 
63                            <#assign curFicheroJournal = journalArticleLocalService.getLatestArticle(curFicheroId?number)/> 
64                            <li>${journalArticleLocalService.getArticleContent(curFicheroJournal, "", "VIEW", locale, themeDisplay)}</li> 
65                       </#if> 
66                    </#if>                                    
67                </#list>     
68            </ul>                 
69        </div>             
70    </#if> 
71     
72	<#if (enlacesRelacionados?has_content && enlacesRelacionados.getSiblings()?has_content && enlacesRelacionados.getSiblings()[0].getData()?has_content)> 
73		<div class="contenido-article information ficheros-relacionados">	 
74			<p class="subtitulo"><@liferay.language key="webasturias.article.enlaces-relacionados" /></p>		 
75			<ul> 
76				<#list enlacesRelacionados.getSiblings() as cur_enlacesRelacionados>								 
77				    <#if cur_enlacesRelacionados.getData() ? has_content> 
78			    	    <#assign curEnlaceId= cur_ficherosRelacionados.getData()?replace("\"classPK\":","") 
79			    		         curEnlaceId= curEnlaceId?replace("\"className\":\"com.liferay.journal.model.JournalArticle\"","") 
80			    		         curEnlaceId= curFicheroId?replace("\"","")  
81			    		         curEnlaceId= curEnlaceId?replace(",","")  
82			    		         curEnlaceId= curEnlaceId?replace("{","")  
83			    		         curEnlaceId= curEnlaceId?replace("}","")        
84			    	   		 curEnlaceJournal = journalArticleLocalService.getLatestArticle(curEnlaceId?number) 
85			    	    /> 
86			    	    <li>${journalArticleLocalService.getArticleContent(curEnlaceJournal, "", "VIEW", locale, themeDisplay)}</li> 
87				    </#if>							   	 
88				</#list>	 
89			</ul>	 
90		</div>			 
91	</#if>		 
92	 
93					 
94</div><!-- plantilla-articulo plantilla-detalle-contenido -->