Actualitat

S'ha produït un error mentre es processava la plantilla.
The following has evaluated to null or missing:
==> entry.getAssetRenderer()  [in template "10155#10193#362096398" at line 24, column 42]

----
Tip: If the failing expression is known to 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: assetRenderer = entry.getAssetRenderer()  [in template "10155#10193#362096398" at line 24, column 26]
----
1<#-- Se incluye el ADT "Macros comunes GVA de publicador de contenidos" --> 
2<#include "${templatesPath}/GVA-MACROS-PUBLICADORES" /> 
3 
4<#if !entries?has_content> 
5	<#if !themeDisplay.isSignedIn()> 
6		${renderRequest.setAttribute("PORTLET_CONFIGURATOR_VISIBILITY", true)} 
7	</#if> 
8 
9	<div class="alert alert-info"> 
10		<@liferay_ui["message"] key="there-are-no-results" /> 
11	</div> 
12</#if> 
13 
14 
15<#assign journalArticleLocalService =	serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")  
16		 layoutLocalServiceUtil = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutLocalService") 
17		 groupLocalServiceUtil = serviceLocator.findService("com.liferay.portal.kernel.service.GroupLocalService") 
18		 organizationServiceUtil = serviceLocator.findService("com.liferay.portal.kernel.service.OrganizationLocalService") 
19/> 
20 
21 
22<#list entries as entry> 
23	<#assign entry = entry 
24			 assetRenderer = entry.getAssetRenderer() 
25			 entryTitle = htmlUtil.escape(assetRenderer.getTitle(locale))?truncate(100,"...") 
26	 
27			 nombreHija= "" 
28			 nombrePadre= "" 
29			 descGroupId = "" 
30			 urlRedirect = "" 
31			 imagenDestacada = "" 
32			 src = "" 
33			 destacados = "" 
34			  
35			 group = groupLocalServiceUtil.getGroup(assetRenderer.getGroupId())  
36	 
37	/> 
38 
39	<div class="asset-abstract"> 
40		<div class="pull-right"> 
41			<@getPrintIcon /> 
42 
43			<@getFlagsIcon /> 
44 
45			<@getEditIcon /> 
46		</div> 
47		 
48		<@getNombreOrganizacion assetRenderer, themeDisplay/> 
49		<@getMultimedia /> 
50		 
51		<#if hayMultimedia?? && hayMultimedia > 
52		<div class="multimedia float-right ml-1"> 
53			<#if hayFotografia?? && hayFotografia > 
54				<i class="fa fa-camera" aria-hidden="true" title='<@liferay.language key="image" />'></i> 
55			</#if> 
56			<#if hayAudio?? && hayAudio > 
57				<i class="fa fa-volume-up" aria-hidden="true" title='<@liferay.language key="audio" />'></i> 
58			</#if> 
59			<#if hayVideo?? && hayVideo > 
60				<i class="fa fa-play-circle" aria-hidden="true" title='<@liferay.language key="video" />'></i> 
61			</#if> 
62			<#if hayDocumento?? && hayDocumento > 
63				<i class="fa fa-file-alt" aria-hidden="true" title='<@liferay.language key="related-documents" />'></i> 
64			</#if> 
65		</div> 
66		</#if> 
67		 
68		<@getUrlRedirect /> 
69		<@getArticleFields /> 
70		 
71		<div class="asset-categories"> 
72			<@getMetadataField fieldName="categories"/> 
73		</div> 
74 
75		<#if esComunica > 
76			<h2 class="asset-title"> 
77			<#assign target = "" /> 
78		<#else> 
79			<h3 class="asset-title"> 
80			<#assign target = "target='_blank'" /> 
81		</#if> 
82			<a href="${urlRedirect}" ${target}> 
83				${article.getTitle(locale)} 
84			</a> 
85		<#if esComunica > 
86			</h2> 
87		<#else> 
88			</h3> 
89		</#if> 
90 
91		<@getMetadataField fieldName="tags" /> 
92 
93		<@getMetadataField fieldName="create-date" /> 
94 
95		<@getMetadataField fieldName="view-count" /> 
96 
97		<div class="asset-content"> 
98 
99			<div class="asset-summary row"> 
100				 
101				<#if destacados != "" && destacados.getText() != "" > 
102					<div class="destacados col-md-10"> 
103						${destacados.getText()} 
104					</div> 
105				</#if> 
106				 
107				<#if imagenDestacada != "" && imagenDestacada.getText() != "" && urlAdaptiveMedia?? && urlAdaptiveMedia != "" > 
108				<div class="asset-small-image col-md-2">  
109				    <#if name?? && name != "" && name?length gt 150 > 
110						<#assign textAlt = name?replace("\"","'")?truncate(150, '...') /> 
111						<img alt="${textAlt}" title="${textAlt}" src="${urlAdaptiveMedia}" />  
112			        <#else> 
113						<#assign textAlt = name?replace("\"","'") /> 
114						<img alt="${textAlt}" title="${textAlt}" src="${urlAdaptiveMedia}"/>  
115			        </#if> 
116	  
117				</div> 
118				</#if> 
119				 
120			</div> 
121 
122		</div> 
123			 
124			<div class="asset-metadata"> 
125				 
126				<@getMetadataField fieldName="author" /> 
127				<#if entry.getPublishDate()?has_content> 
128					<@getMetadataField fieldName="publish-date" /> 
129				</#if> 
130				<#if entry.getModifiedDate()?has_content> 
131					<@getMetadataField fieldName="modified-date" />	 
132				</#if> 
133				<#if entry.getCreateDate()?has_content> 
134					<@getMetadataField fieldName="create-date" /> 
135				</#if> 
136				<#if entry.getExpirationDate()?has_content> 
137					<@getMetadataField fieldName="expiration-date" /> 
138				</#if> 
139				 
140				<@getMetadataField fieldName="priority" /> 
141			 
142				<@getMetadataField fieldName="tags" /> 
143				<@getMetadataField fieldName="view-count" /> 
144					 
145 
146				<@getRatings /> 
147			</div> 
148 
149			<@getRelatedAssets /> 
150 
151			<@getDiscussion /> 
152	</div> 
153</#list> 

novetats

S'ha produït un error mentre es processava la plantilla.
The following has evaluated to null or missing:
==> entry.getAssetRenderer()  [in template "10155#10193#175797870" at line 18, column 33]

----
Tip: If the failing expression is known to 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: assetRenderer = entry.getAssetRenderer()  [in template "10155#10193#175797870" at line 18, column 17]
----
1<#-- Se incluye el ADT "Macros comunes GVA de publicador de contenidos" --> 
2<#include "${templatesPath}/GVA-MACROS-PUBLICADORES" /> 
3 
4<#if !entries?has_content> 
5	<#if !themeDisplay.isSignedIn()> 
6		${renderRequest.setAttribute("PORTLET_CONFIGURATOR_VISIBILITY", true)} 
7	</#if> 
8 
9	<div class="alert alert-info"> 
10		<@liferay_ui["message"] key="there-are-no-results" /> 
11	</div> 
12</#if> 
13 
14<#list entries as entry> 
15	<#assign 
16		entry = entry 
17 
18		assetRenderer = entry.getAssetRenderer() 
19 
20		entryTitle = htmlUtil.escape(assetRenderer.getTitle(locale)) 
21 
22		viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, assetRenderer, entry, !stringUtil.equals(assetLinkBehavior, "showFullContent")) 
23		 
24		nombreHija="" 
25		 
26		nombrePadre="" 
27		 
28		descGroupId ="" 
29		 
30		layoutLocalServiceUtil = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutLocalService") 
31		 
32		groupLocalServiceUtil = serviceLocator.findService("com.liferay.portal.kernel.service.GroupLocalService") 
33		 
34		group = groupLocalServiceUtil.getGroup(assetRenderer.getGroupId()) 
35		 
36		organizationServiceUtil = serviceLocator.findService("com.liferay.portal.kernel.service.OrganizationLocalService") 
37	/> 
38 
39	<div class="asset-abstract"> 
40		<div class="pull-right"> 
41			<@getPrintIcon /> 
42 
43			<@getFlagsIcon /> 
44 
45			<@getEditIcon /> 
46		</div> 
47		 
48		<@getNombreOrganizacion assetRenderer, themeDisplay/> 
49		 
50		<div class="asset-categories"> 
51			<@getMetadataField fieldName="categories"/> 
52		</div> 
53 
54		<h3 class="asset-title"> 
55			<a href="${viewURL}"> 
56				${entryTitle} 
57			</a> 
58		</h3> 
59 
60		<@getMetadataField fieldName="tags" /> 
61 
62		<@getMetadataField fieldName="create-date" /> 
63 
64		<@getMetadataField fieldName="view-count" /> 
65 
66		<div class="asset-content"> 
67 
68			<div class="asset-summary"> 
69				 <@getImagenPequenya/> 
70				  
71				<#assign abstractLength = 200/> 
72				<#assign entryTitleHMTML = htmlUtil.extractText(entryTitle)/> 
73				<#assign summary=""/> 
74				 
75				<#assign resumen = htmlUtil.extractText(htmlUtil.escape(assetRenderer.getSummary()))/> 
76				<#if resumen != "" > 
77					<#assign summary= resumen /> 
78				<#else> 
79					<#assign resumenCalculado = htmlUtil.extractText(htmlUtil.escape(assetRenderer.getSummary(renderRequest, renderResponse)))/> 
80					 
81					<#-- El resumen calculado incluye el titulo, quitamos el titulo para que no salga duplicado --> 
82					<#if resumenCalculado?contains(entryTitleHMTML)> 
83						<#assign resumenCalculado = resumenCalculado?substring(entryTitleHMTML?length,resumenCalculado?length)/> 
84					</#if> 
85					<#assign summary= resumenCalculado /> 
86				</#if> 
87 
88  
89			    <p>${stringUtil.shorten(summary,abstractLength)}</p> 
90			</div> 
91			<div class="asset-more"> 
92				<p><a href="${viewURL}"><@liferay.language key="mas-info" /><span class="hide-accessible"><@liferay.language key="about" />${entryTitle}</span></a></p> 
93			</div> 
94		</div> 
95			<div class="asset-metadata"> 
96				<@getMetadataField fieldName="publish-date" /> 
97				<@getMetadataField fieldName="modified-date" />			<@getRatings /> 
98			</div> 
99 
100			<@getRelatedAssets /> 
101 
102			<@getDiscussion /> 
103		 
104	</div> 
105</#list> 

Publicador de continguts

Publicador de continguts no està disponible temporalment.