Publicador de contenidos

EAJ-PNV

Se ha producido un error al procesar la plantilla.
Failed to "?eval" string with this error:

---begin-message---
Syntax error in ?eval-ed string in line 1, column 6:
Encountered ":", but was expecting one of:
    "."
    ".."
    <DOT_DOT_LESS>
    "..*"
    "?"
    "??"
    "!"
    "["
    "("
    ")"
    <TERMINATING_EXCLAM>
---end-message---

The failing expression:
==> imagen?eval  [in template "21222#21260#26462820" at line 20, column 39]

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign imagen_map = imagen?eval  [in template "21222#21260#26462820" at line 20, column 17]
----
1<#if entries?has_content> 
2<div class="listado"> 
3	<#assign dLFileEntryService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryService")>	 
4	<div class="tres-columnas"> 
5	<#foreach entry in entries> 
6		<#assign renderer = entry.getAssetRenderer()> 
7		<#assign className = renderer.getClassName()>         
8        <#if className == "com.liferay.journal.model.JournalArticle"> 
9			<#assign journalArticle = renderer.getArticle()> 
10			<#assign document = saxReaderUtil.read(journalArticle.getContentByLocale(locale.toString()))> 
11			<#assign rootElement = document.getRootElement()> 
12			<#assign imagen = document.valueOf("//dynamic-element[@name='urlPicture']/dynamic-content/text()") /> 
13			<#assign enlace = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, entry)>			 
14			<#if assetLinkBehavior == "viewInPortlet"> 
15				<#assign enlace = renderer.getURLViewInContext(renderRequest, renderResponse, enlace)>			 
16			</#if> 
17			<#assign izena = document.valueOf("//dynamic-element[@name='izena']/dynamic-content/text()") /> 
18			<#assign osokobilkurakargoa = document.valueOf("//dynamic-element[@name='udalaOB']/dynamic-content/text()") /> 
19			<#if imagen!=""> 
20                <#assign imagen_map = imagen?eval /> 
21				<#if imagen_map.groupId?? && imagen_map.groupId?has_content && imagen_map.uuid?? && imagen_map.uuid?has_content>  
22					<#assign fileMi = dLFileEntryService.getFileEntryByUuidAndGroupId(imagen_map.uuid?string, getterUtil.getLong(imagen_map.groupId))> 
23					<#assign miRuta="/documents/${imagen_map.groupId}/${fileMi.getFileEntryId()}/${imagen_map.title}/${imagen_map.uuid}"> 
24				</#if>     
25			<#else>                            
26				<#assign miRuta="">             
27			</#if> 
28			<div class="columna">		 
29				<div class="urnieta"> 
30					<div class="fichas-establecimientos"> 
31						<a href="${enlace}"> 
32						    <img alt="${entry.getTitle(locale)}" src="${miRuta}"> 
33							<span class="contenido"> 
34								<span class="titulo">${entry.getTitle(locale)}</span> 
35								<span class="kargua">${osokobilkurakargoa?split("-")[1]}</span> 
36							</span> 
37						</a> 
38					</div> 
39				</div> 
40			</div>			 
41        </#if>     
42	</#foreach>     
43	</div> 
44</div> 
45</#if> 

EH BILDU

Se ha producido un error al procesar la plantilla.
Failed to "?eval" string with this error:

---begin-message---
Syntax error in ?eval-ed string in line 1, column 7:
Encountered ":", but was expecting one of:
    "."
    ".."
    <DOT_DOT_LESS>
    "..*"
    "?"
    "??"
    "!"
    "["
    "("
    ")"
    <TERMINATING_EXCLAM>
---end-message---

The failing expression:
==> imagen?eval  [in template "21222#21260#26462820" at line 20, column 39]

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign imagen_map = imagen?eval  [in template "21222#21260#26462820" at line 20, column 17]
----
1<#if entries?has_content> 
2<div class="listado"> 
3	<#assign dLFileEntryService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryService")>	 
4	<div class="tres-columnas"> 
5	<#foreach entry in entries> 
6		<#assign renderer = entry.getAssetRenderer()> 
7		<#assign className = renderer.getClassName()>         
8        <#if className == "com.liferay.journal.model.JournalArticle"> 
9			<#assign journalArticle = renderer.getArticle()> 
10			<#assign document = saxReaderUtil.read(journalArticle.getContentByLocale(locale.toString()))> 
11			<#assign rootElement = document.getRootElement()> 
12			<#assign imagen = document.valueOf("//dynamic-element[@name='urlPicture']/dynamic-content/text()") /> 
13			<#assign enlace = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, entry)>			 
14			<#if assetLinkBehavior == "viewInPortlet"> 
15				<#assign enlace = renderer.getURLViewInContext(renderRequest, renderResponse, enlace)>			 
16			</#if> 
17			<#assign izena = document.valueOf("//dynamic-element[@name='izena']/dynamic-content/text()") /> 
18			<#assign osokobilkurakargoa = document.valueOf("//dynamic-element[@name='udalaOB']/dynamic-content/text()") /> 
19			<#if imagen!=""> 
20                <#assign imagen_map = imagen?eval /> 
21				<#if imagen_map.groupId?? && imagen_map.groupId?has_content && imagen_map.uuid?? && imagen_map.uuid?has_content>  
22					<#assign fileMi = dLFileEntryService.getFileEntryByUuidAndGroupId(imagen_map.uuid?string, getterUtil.getLong(imagen_map.groupId))> 
23					<#assign miRuta="/documents/${imagen_map.groupId}/${fileMi.getFileEntryId()}/${imagen_map.title}/${imagen_map.uuid}"> 
24				</#if>     
25			<#else>                            
26				<#assign miRuta="">             
27			</#if> 
28			<div class="columna">		 
29				<div class="urnieta"> 
30					<div class="fichas-establecimientos"> 
31						<a href="${enlace}"> 
32						    <img alt="${entry.getTitle(locale)}" src="${miRuta}"> 
33							<span class="contenido"> 
34								<span class="titulo">${entry.getTitle(locale)}</span> 
35								<span class="kargua">${osokobilkurakargoa?split("-")[1]}</span> 
36							</span> 
37						</a> 
38					</div> 
39				</div> 
40			</div>			 
41        </#if>     
42	</#foreach>     
43	</div> 
44</div> 
45</#if> 

PSE-EE

Se ha producido un error al procesar la plantilla.
Failed to "?eval" string with this error:

---begin-message---
Syntax error in ?eval-ed string in line 1, column 7:
Encountered ":", but was expecting one of:
    "."
    ".."
    <DOT_DOT_LESS>
    "..*"
    "?"
    "??"
    "!"
    "["
    "("
    ")"
    <TERMINATING_EXCLAM>
---end-message---

The failing expression:
==> imagen?eval  [in template "21222#21260#26462820" at line 20, column 39]

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign imagen_map = imagen?eval  [in template "21222#21260#26462820" at line 20, column 17]
----
1<#if entries?has_content> 
2<div class="listado"> 
3	<#assign dLFileEntryService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryService")>	 
4	<div class="tres-columnas"> 
5	<#foreach entry in entries> 
6		<#assign renderer = entry.getAssetRenderer()> 
7		<#assign className = renderer.getClassName()>         
8        <#if className == "com.liferay.journal.model.JournalArticle"> 
9			<#assign journalArticle = renderer.getArticle()> 
10			<#assign document = saxReaderUtil.read(journalArticle.getContentByLocale(locale.toString()))> 
11			<#assign rootElement = document.getRootElement()> 
12			<#assign imagen = document.valueOf("//dynamic-element[@name='urlPicture']/dynamic-content/text()") /> 
13			<#assign enlace = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, entry)>			 
14			<#if assetLinkBehavior == "viewInPortlet"> 
15				<#assign enlace = renderer.getURLViewInContext(renderRequest, renderResponse, enlace)>			 
16			</#if> 
17			<#assign izena = document.valueOf("//dynamic-element[@name='izena']/dynamic-content/text()") /> 
18			<#assign osokobilkurakargoa = document.valueOf("//dynamic-element[@name='udalaOB']/dynamic-content/text()") /> 
19			<#if imagen!=""> 
20                <#assign imagen_map = imagen?eval /> 
21				<#if imagen_map.groupId?? && imagen_map.groupId?has_content && imagen_map.uuid?? && imagen_map.uuid?has_content>  
22					<#assign fileMi = dLFileEntryService.getFileEntryByUuidAndGroupId(imagen_map.uuid?string, getterUtil.getLong(imagen_map.groupId))> 
23					<#assign miRuta="/documents/${imagen_map.groupId}/${fileMi.getFileEntryId()}/${imagen_map.title}/${imagen_map.uuid}"> 
24				</#if>     
25			<#else>                            
26				<#assign miRuta="">             
27			</#if> 
28			<div class="columna">		 
29				<div class="urnieta"> 
30					<div class="fichas-establecimientos"> 
31						<a href="${enlace}"> 
32						    <img alt="${entry.getTitle(locale)}" src="${miRuta}"> 
33							<span class="contenido"> 
34								<span class="titulo">${entry.getTitle(locale)}</span> 
35								<span class="kargua">${osokobilkurakargoa?split("-")[1]}</span> 
36							</span> 
37						</a> 
38					</div> 
39				</div> 
40			</div>			 
41        </#if>     
42	</#foreach>     
43	</div> 
44</div> 
45</#if>