comunicados

Asset Publisher

An error occurred while processing the template.
Java method "com.sun.proxy.$Proxy742.getArticleByUrlTitle(long, String)" threw an exception when invoked on com.sun.proxy.$Proxy742 object "br.org.ccee.liferay.docs.serviceoverride.JournalCopyServiceWrapper@1d43a583"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign article = journalArticleServi...  [in template "20097#20123#77616" at line 14, column 5]
----
1<#-- 
2  Name: ADT - Page Template - Detalhe Comunicados 
3  Type: Asset Publisher Template 
4  Path: ROOT/assets/noticias/templates/page-template-detalhe-comunicados.ftl 
5--> 
6 
7<#assign journalArticleService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") /> 
8<#assign friendlyURL = themeDisplay.getURLCurrent()?split("/-/")?last?split("?")?first /> 
9<#assign groupId = themeDisplay.getSiteGroupId() /> 
10 
11 
12 <#if !friendlyURL?contains("fragment_collections") > 
13    <#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")> 
14    <#assign article = journalArticleService.getArticleByUrlTitle(groupId,friendlyURL)> 
15     
16    <#assign model = objectUtil("com.liferay.portal.kernel.portlet.PortletRequestModel", renderRequest, renderResponse) /> 
17    ${journalArticleLocalService.getArticleContent(article, article.getDDMTemplateKey(), "VIEW", locale, model, themeDisplay)} 
18</#if> 

ÚLTIMOS COMUNICADOS

Asset Publisher