Publicador de contidos

Publicador de contidos

Produciuse un erro ao procesar o modelo.
Java method "com.liferay.asset.publisher.web.internal.util.AssetPublisherHelperImpl.getAssetViewURL(com.liferay.portal.kernel.portlet.LiferayPortletRequest, com.liferay.portal.kernel.portlet.LiferayPortletResponse, com.liferay.asset.kernel.model.AssetEntry, boolean)" threw an exception when invoked on com.liferay.asset.publisher.web.internal.util.AssetPublisherHelperImpl object "com.liferay.asset.publisher.web.internal.util.AssetPublisherHelperImpl@6b30949c"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign assetViewURL = assetPublisher...  [in template "20097#20123#37439" at line 50, column 25]
----
1<style> 
2    .portlet-content{ 
3        padding:0 !important; 
4
5    .portlet-header { 
6        display: none; 
7
8    .noticias-t4-container { 
9        min-height: 200px; 
10
11     
12     
13    .noticias-t4-container .t4-ads .t4-ad { 
14        width: 100%; 
15        max-width: 300px; 
16        height: auto !important; 
17        max-height: none !important; 
18
19     
20    .noticias-t4-container .t4-ads .t4-ad .crtvg-ads   { 
21        width: 100%; 
22        max-width: 300px; 
23        height: 100%; 
24        max-height: none !important; 
25
26    .noticias-t4-container .t4-ads .t4-ad .crtvg-ads .crtvg-ads-item { 
27        width: 100%; 
28        max-width: 300px; 
29        height: 100%; 
30        max-height: none !important; 
31
32     
33    .noticias-t4-container .t4-ads .t4-ad .crtvg-ads .crtvg-ads-item > div { 
34        width: 100%; 
35        max-width: 300px; 
36        height: 100%; 
37        max-height: none !important; 
38
39</style> 
40 
41<#if entries?has_content> 
42 
43    <#assign entries = crtvgContentUtilApi.limitEntriesToDisplay(entries,6) /> 
44 
45    <div class="row noticias-t4-container"> 
46        <div class="col-12 col-md-9 t4-noticias-col"> 
47            <div class="row t4-noticias-row"> 
48                <#list entries as curEntry> 
49        	 
50            		<#assign assetViewURL=assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, 
51                                    curEntry, true) /> 
52            		     
53        		    <#assign  
54            		    renderer=curEntry.getAssetRenderer()  
55            		    article=renderer.getArticle() 
56                        articleId = article.getId() 
57                        journalArticle = renderer.getAssetObject() 
58                    /> 
59                     
60                    <div class="col-12 col-md-4 t4-noticia-container"> 
61                        <@liferay_journal["journal-article"] 
62                            articleId=journalArticle.getArticleId() 
63                            ddmTemplateKey="37297" 
64                            groupId=journalArticle.getGroupId() 
65                        /> 
66            		</div> 
67            	</#list> 
68            </div> 
69    	</div> 
70    	<div class="col-12 col-md-3 t4-ads"> 
71    	   <div class="t4-ad"> 
72    	       <@liferay_journal["journal-article"] 
73                    articleId="1082503" 
74                    groupId=themeDisplay.getScopeGroupId() 
75                /> 
76    	   </div> 
77    	   <div class="t4-ad"> 
78    	       <@liferay_journal["journal-article"] 
79                    articleId="1082524" 
80                    groupId=themeDisplay.getScopeGroupId() 
81                /> 
82    	   </div> 
83    	</div> 
84	</div> 
85</#if>