Notícias

Um erro ocorreu enquanto processava o modelo.
The following has evaluated to null or missing:
==> curEntry.getAssetRenderer()  [in template "10112#156075#5110377" at line 12, column 33]

----
Tip: If the failing expression is known to be 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: #assign renderer = curEntry.getAssetR...  [in template "10112#156075#5110377" at line 12, column 13]
----
1<#if entries?has_content> 
2    <#assign urlBase = httpUtil.getPath(portalUtil.getCurrentURL(renderRequest))?replace(themeDisplay.getLayout().getFriendlyURL(themeDisplay.getLocale()), "")/> 
3 
4    <#if !urlBase?ends_with("/")> 
5        <#assign urlBase = urlBase + "/"/> 
6    </#if> 
7     
8    <#assign urlViewNoticia = urlBase + "noticias/noticia/-/visualizar-conteudo/"/> 
9 
10    <ul class="lista-noticias"> 
11        <#list entries as curEntry> 
12            <#assign renderer = curEntry.getAssetRenderer()/> 
13            <#assign journal = renderer.getArticle()/> 
14            <#assign campos = customJournalAdtUtil.generateJournalArticleObjects(journal, themeDisplay)/> 
15             
16            <#assign urlArtigo = urlViewNoticia + campos["groupId"] + "/" + campos["articleId"] /> 
17             
18            <li> 
19                <span class="data"> 
20                    <strong>${campos["displayDate"]} - ${campos["displayTime"]}h ></strong> 
21                    <a href="${urlArtigo}" title='${campos["title"]}'>${campos["title"]}</a> 
22                </span> 
23            </li> 
24        </#list> 
25    </ul> 
26</#if>