null Revista + Calidad Nº27. Primer semestre. Año 2023

Nuevo número publicado

Se ha producido un error al procesar la plantilla.
Java method "com.sun.proxy.$Proxy105.getFriendlyURLLayout(long, boolean, String)" threw an exception when invoked on com.sun.proxy.$Proxy105 object "com.liferay.layout.internal.service.LayoutLocalServiceWrapper@7352dc68"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign layout = layoutLocalService.g...  [in template "38506#38534#TPL_ARTICULO_BULLETIN" at line 9, column 1]
----
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/> 
6<#assign layoutLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutLocalService")> 
7 
8 
9<#assign layout= layoutLocalService.getFriendlyURLLayout(groupId, false, "/noticia")> 
10<#assign dominio=portalUtil.getLayoutFriendlyURL(layout, themeDisplay)/> 
11 
12<#if ! themeDisplay ? has_content> 
13    <#assign liferay_theme = PortletJspTagLibs["/META-INF/liferay-theme.tld"] /> 
14    <@liferay_theme["defineObjects"] /> 
15</#if> 
16 
17<#assign journalArticleId = .vars['reserved-article-id'].data 
18		 journalArticle = journalArticleService.getLatestArticle(groupId,journalArticleId) 
19 		 assetEntry = assetEntryLocalService.fetchEntry("com.liferay.journal.model.JournalArticle", journalArticle.getResourcePrimKey()?number) 
20/> 
21 
22<div class="detalle-contenido detalle-articulo"> 
23	<div class="row"> 
24		<#if (imagenesSuperiores?has_content && imagenesSuperiores.getSiblings()?has_content && imagenesSuperiores.getSiblings()[0].imagenSuperior.getData()!="" )> 
25			<div class="col-md-3 text-center"> 
26				<div class="about__pic num-imagenes-${imagenesSuperiores.getSiblings()?size}"> 
27					<#list imagenesSuperiores.getSiblings() as cur_bloque_imagenes> 
28						<#if (cur_bloque_imagenes.imagenSuperior.getData())?? && cur_bloque_imagenes.imagenSuperior.getData() != ""> 
29							<div class="about__pic__item"> 
30							  <#assign imageUrl=dominio?replace("/noticia",cur_bloque_imagenes.imagenSuperior.getData())> 
31								<img alt="${cur_bloque_imagenes.imagenSuperior.getAttribute("alt")}" src="${imageUrl}" /> 
32							</div> 
33						</#if> 
34					</#list> 
35				</div> 
36			</div> 
37 
38			<div class="col-md-9"> 
39		<#else> 
40			<div class="col-lg-12"> 
41		</#if> 
42             
43            <h2> ${.vars['reserved-article-title'].data}</h2> 
44 
45			<div class="about__text"> 
46				<#if resumen.getData()?? && resumen.getData() != ""> 
47					<div class="resumen">${resumen.getData()}</div> 
48				</#if> 
49 
50				<#if subtitulo.getData()?? && subtitulo.getData() != ""> 
51					<div class="subtitulo">${subtitulo.getData()}</div> 
52				</#if> 
53 
54 
55			</div> 
56		</div> 
57	</div> 
58 
59 
60</div>