Publicador de contenidos

angle-left Visualización de Fechas fuera de CartoDruid
Se ha producido un error al procesar la plantilla.
Java method "com.sun.proxy.$Proxy473.getArticle(long, String)" threw an exception when invoked on com.sun.proxy.$Proxy473 object "com.liferay.journal.service.impl.JournalArticleLocalServiceImpl@4de435c4"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign currentArticle = journalArtic...  [in template "20116#20152#762559" at line 5, column 1]
----
1<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") /> 
2<#assign assetLinkLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetLinkLocalService") /> 
3<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") /> 
4 
5<#assign currentArticle = journalArticleLocalService.getArticle(groupId, .vars['reserved-article-id'].data) /> 
6<#assign currentArticleResourcePrimKey = currentArticle.getResourcePrimKey() /> 
7<#assign currentArticleAssetEntry = assetEntryLocalService.getEntry("com.liferay.journal.model.JournalArticle", currentArticleResourcePrimKey) /> 
8<#assign currentArticleAssetEntryId = currentArticleAssetEntry.getEntryId() /> 
9<#assign currentArticleRelatedLinks = assetLinkLocalService.getDirectLinks(currentArticleAssetEntryId) /> 
10 
11 
12<@liferay_util["html-top"]> 
13<style> 
14.portlet-barebone .portlet .portlet-content .portlet-body .h2{ 
15	display:none; 
16
17</style> 
18</@> 
19 
20<div class="content-section-b"> 
21    <div class="row"> 
22    <hr class="section-heading-spacer" /> 
23    <div class="clearfix">&nbsp;</div> 
24    <h1 class="section-heading">${.vars['reserved-article-title'].data}</h1> 
25    <div class="col-xs-12"> 
26        <div class="panel-body lead"> 
27            ${content.getData()} 
28            <#if (currentArticleRelatedLinks?size>0) > 
29                <h3 id="relatedAssets"><@liferay_ui["message"] key="related-assets" /></h3> 
30            </#if> 
31            <#list currentArticleRelatedLinks as related_entry> 
32                <#assign relatedAssetEntryId = related_entry.getEntryId2() /> 
33                <#assign relatedAssetEntry = assetEntryLocalService.getEntry(relatedAssetEntryId) /> 
34                <#assign relatedAssetEntryPrimKey = relatedAssetEntry.getClassPK() /> 
35                <#assign relatedArticle = journalArticleLocalService.getLatestArticle(relatedAssetEntryPrimKey) /> 
36                <p><a href="${relatedArticle.getUrlTitle()}">${relatedAssetEntry.getTitle(locale)}</a></p> 
37            </#list> 
38        </div> 
39    </div> 
40    </div> 
41</div>