Eduki publikatzailea

Nafarroa 57 –Segunda Barrentxo etxea- partzelaren xehetasun azterketa

Errorea gertatu da txantiloia prozesatzerakoan.
Failed to "?eval" string with this error:

---begin-message---
Syntax error in ?eval-ed string in line 1, column 2:
Encountered "/", but was expecting one of:
    <STRING_LITERAL>
    <RAW_STRING>
    "false"
    "true"
    <INTEGER>
    <DECIMAL>
    "."
    "+"
    "-"
    "!"
    "["
    "("
    "{"
    <ID>
---end-message---

The failing expression:
==> cur_map.getData()?eval  [in template "21222#21260#3978732" at line 56, column 69]

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign customFieldJson = cur_map.get...  [in template "21222#21260#3978732" at line 56, column 41]
----
1<!-- IDIOMAS --> 
2<#include "${templatesPath}/3765909" /> 
3 
4<#assign fileEntryService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryLocalService") > 
5<#assign textFormatter = staticUtil["com.liferay.portal.kernel.util.TextFormatter"] > 
6 
7<div class="container"> 
8    <div class="row clearfix"> 
9    	<div class="col-xs-12"> 
10    		<div class="zt-box-detail-header"> 
11    			<h1>${title.getData()}</h1> 
12    		</div> 
13    	</div> 
14    </div> 
15	<div class="row"> 
16		<div class="col-xs-12"> 
17			<div> 
18				<h2>${i18nInforacionG}</h2> 
19				<p>${description.getData()}</p> 
20			</div> 
21		</div> 
22	</div> 
23	<div class="row"> 
24    	<div class="col-xs-12"> 
25    	    <#if document??> 
26    	        <#if document.getData()!=""> 
27            	    <h2 class="zt-h2-text">${i18nDokumentazioa}</h2> 
28            	    <div class="thumbnails"> 
29                        <#if document.getSiblings()?has_content> 
30            	            <#list document.getSiblings() as cur_document> 
31            	                <#if cur_document.data!=""> 
32                	                <#assign customFieldJson =  cur_document.data?eval > 
33                                    <#assign fileEntry = getFileEntry(customFieldJson.groupId, customFieldJson.uuid) > 
34                                    <#assign size = textFormatter.formatStorageSize(fileEntry.size, locale) > 
35                                    <div class="col-xs-4 col-sm-2"> 
36        								<a href="${cur_document.getData()}" class="thumbnail"><img src="${cur_document.documentPreview.getData()}" alt="" /></a> 
37        								<a href="${cur_document.getData()}"><p>${cur_document.documentTitle.getData()} (${fileEntry.extension?upper_case} ${size})</p></a> 
38        							</div> 
39                            	</#if> 
40            	            </#list> 
41                        </#if> 
42                    </div> 
43                </#if> 
44            </#if> 
45        </div> 
46	</div> 
47	<div class="row"> 
48    	<div class="col-xs-12"> 
49    	    <#if map??> 
50        	    <#if map.getData()!=""> 
51            	    <h2 class="zt-h2-text">${i18nPlanoak}</h2> 
52            	    <div class="thumbnails"> 
53                        <#if map.getSiblings()?has_content> 
54            	            <#list map.getSiblings() as cur_map> 
55            	                <#if cur_map.getData()!=""> 
56                	                <#assign customFieldJson =  cur_map.getData()?eval > 
57                                    <#assign fileEntry = getFileEntry(customFieldJson.groupId, customFieldJson.uuid) > 
58                                    <#assign size = textFormatter.formatStorageSize(fileEntry.size, locale) > 
59                                    <div class="col-xs-4 col-sm-2"> 
60        								<a href="${cur_map.getData()}" class="thumbnail"><img src="${cur_map.mapPreview.getData()}" alt="" /></a> 
61        								<a href="${cur_map.getData()}"><p>${cur_map.mapTitle.getData()} (${fileEntry.extension?upper_case} ${size})</p></a> 
62        							</div> 
63                            	</#if> 
64            	            </#list> 
65                        </#if> 
66                    </div> 
67                </#if> 
68            </#if> 
69        </div> 
70	</div> 
71</div> 
72 
73<#function getFileEntry id, uuid > 
74 
75    <#assign group_id = getterUtil.getLong(id) > 
76    <#return fileEntryService.getDLFileEntryByUuidAndGroupId(uuid?string, group_id) /> 
77</#function> 

Bilatuenak

Bilatuenak

  • Larrialdiak
    112
  • Udaltzaingoa
    943 005 115
  • Udal Informazioa
    943 005 100
    Udal Informazioa Zarauztik
    010