Documentos e informes. Programas Europeos 2014-2020

Se ha producido un error al procesar la plantilla.
The following has evaluated to null or missing:
==> field.getValue().getString(locale)  [in template "36403#36449#TPL_ARTICULO" at line 60, column 84]

----
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: #assign titulo = field.getValue().get...  [in template "36403#36449#TPL_ARTICULO" at line 60, column 65]
----
1<#assign journalArticleId = .vars['reserved-article-id'].data/> 
2 
3<div class="tpl-articulo id-${journalArticleId}"> 
4 
5<#assign mtlAssetService = serviceLocator.findService("pa.mtl.asset.service.api.MtlAssetService")> 
6<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")> 
7<#assign articleId = .vars['reserved-article-id'].data/> 
8<#assign journalArticle = journalArticleLocalService.getArticle(groupId, articleId) />  
9<#assign ddmFormFieldValuesMap = mtlAssetService.getDDMFormFieldValuesMap(journalArticle) />  
10 
11<#assign dlFileEntryLocalService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryLocalService")> 
12 
13<#if imagen.getData()?? && imagen.getData() != "">  
14    <div class="tpl-articulo__image"> 
15		<img alt="${(imagen.getAttribute("alt"))!"Imagen"}" data-fileentryid="${(imagen.getAttribute("fileEntryId"))!""}" src="${imagen.getData()}" /> 
16	</div> 
17</#if> 
18 
19<#if entradilla?? && entradilla.getData()??> 
20	${entradilla.getData()} 
21</#if> 
22 
23${cuerpo.getData()} 
24	<#assign ddmffvEnlacesRelacionados = ddmFormFieldValuesMap["enlacesRelacionados"] /> 
25		<#if ddmffvEnlacesRelacionados?has_content> 
26			<ul class="enlaces_relacionados"> 
27				<#list ddmffvEnlacesRelacionados as ddmffvEnlace>  
28					<#assign aeEnlace = (mtlAssetService.getArticleFormFieldValueAssetEntry(ddmffvEnlace, locale))!"" /> 
29						<#if aeEnlace?has_content> 
30							<li> 
31							<svg class="icon-content ico-documento more-info" style="max-width:16px;"> 
32    <use xlink:href="${themeDisplay.getPathThemeImages()}/clay/icons.svg#web-content"></use> 
33</svg> 
34							 
35							${journalArticleLocalService.getArticleContent(aeEnlace.getAssetRenderer().getAssetObject(), "","VIEW", locale, themeDisplay)} 
36							</li> 
37						</#if> 
38		    	</#list> 
39		    </ul>  
40		</#if> 
41		     
42<#if ficherosRelacionados.getSiblings()?has_content>  
43	 <ul class="ficheros_relacionados"> 
44		<#list ficherosRelacionados.getSiblings() as cur_ficherosRelacionados>  
45		    <#if cur_ficherosRelacionados?? && cur_ficherosRelacionados.getData() !=""> 
46				<#if cur_ficherosRelacionados.getData() ? has_content> 
47				   <#assign fileEntryUrl = cur_ficherosRelacionados.getData() 
48						fileUuidPosition = (fileEntryUrl?last_index_of("/")) + 1 
49						fileEntryUrlLength = (fileEntryUrl?length) - 1 
50						fileUuid = fileEntryUrl[fileUuidPosition..fileEntryUrlLength]			              
51						fileUuidPosition2 = (fileUuid ?last_index_of("?")) -1 
52						fileUuid2 = fileUuid[0..fileUuidPosition2]						 
53						fileEntry = dlFileEntryLocalService.getFileEntryByUuidAndGroupId(fileUuid2,groupId) 
54						/>	 
55					<#assign fieldsMap = fileEntry.getDDMFormValuesMap(fileEntry.getFileVersion().getFileVersionId()) /> 
56					<#assign titulo = fileEntry.getTitle()/> 
57					<#list fieldsMap?values as fields> 
58						<#list fields.getDDMFormFieldValues()  as field> 
59							<#if field.getName() == "titulo"> 
60								<#assign titulo =  field.getValue().getString(locale)/>							 
61							</#if> 
62						</#list> 
63					</#list> 
64					<li> 
65						<a target="_blank" href="${fileEntryUrl}"  title="${titulo}"> 
66							<svg class="icon-content ico-documento" style="max-width:16px;"> 
67								<use xlink:href="${themeDisplay.getPathThemeImages()}/clay/icons.svg#web-content"></use> 
68							</svg> 
69							${titulo} 
70						</a>	 
71					</li>						 
72				</#if>      
73			 
74			</#if> 
75		</#list>  
76	</ul> 
77</#if> 
78 
79	<#if subapartado.getSiblings()?has_content>			        	 
80					<#list subapartado.getSiblings() as cur_subapartado>	 
81						<div class="description"> 
82	                  		<#if cur_subapartado.tituloSubapartado.getData()?? && cur_subapartado.tituloSubapartado.getData() != ""> 
83								<h4>${cur_subapartado.tituloSubapartado.getData()}</h4>	 
84				          	</#if>           
85		                  	<#if cur_subapartado.descripcionSubapartado.getData()?? && cur_subapartado.descripcionSubapartado.getData() != ""> 
86								${cur_subapartado.descripcionSubapartado.getData()}	 
87				          	</#if>   
88				        </div> 
89	              	</#list>		            	     
90				</#if>  
91 
92<#if (articulosRelacionados?has_content && articulosRelacionados.getSiblings()?has_content && articulosRelacionados.getSiblings()[0].getData()?has_content)> 
93	<#list articulosRelacionados.getSiblings() as cur_articulosRelacionados>                                 
94		<#if cur_articulosRelacionados.getData() ? has_content> 
95			<#assign curArticuloId=cur_articulosRelacionados.getData()?keep_after("\"classPK\":\"")?keep_before("\"")/> 
96			<#if curArticuloId? has_content> 
97				<#assign curArticuloJournal = journalArticleLocalService.getLatestArticle(curArticuloId?number)/> 
98					<h2 class="portlet-title-text">${curArticuloJournal.getTitle(locale)}</h2> 
99				${journalArticleLocalService.getArticleContent(curArticuloJournal, "TPL_ARTICULO", "VIEW", locale, themeDisplay)}			                            
100		   </#if> 
101		</#if>                                    
102	</#list>     
103</#if> 
104 
105 
106<#if fechaFinPlazo?? && fechaFinPlazo.getData() != ""> 
107    <#assign today = .now?date?iso_utc/> 
108    <#if fechaFinPlazo.getData()?date("yyyy-MM-dd") <= today?date("yyyy-MM-dd")> 
109        <a href="${paginaPlazoCerrado.getData()}">Plazo cerrado</a> 
110    </#if> 
111</#if> 
112</div>