Noticias - Cesce México
Noticias BANCOMEXT-CESCE
Noticias corporativas y relacionadas con nuestros productos
Ocorreu um erro ao processar o template.
The following has evaluated to null or missing:
==> friendlyURLs[themeDisplay.getLanguageId()] [in template "20098#20124#67421" at line 13, column 17]
----
Tip: It's the final [] step that caused this error, not those before it.
----
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: ${friendlyURLs[themeDisplay.getLangua... [in template "20098#20124#67421" at line 13, column 15]
---- 1<#assign journalArticleId = .vars['reserved-article-id'].data> 2<#assign assetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService") /> 3<#assign journalArticleResourceLocalServiceUtil = serviceLocator.findService("com.liferay.journal.service.JournalArticleResourceLocalService")> 4<#assign assetCategoryLocalServiceUtil = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService")> 5<#assign assetVocabularyLocalServiceUtil = serviceLocator.findService("com.liferay.asset.kernel.service.AssetVocabularyLocalService")> 6 7<#assign articleResourcePK = journalArticleResourceLocalServiceUtil.getArticleResourcePrimKey(groupId, journalArticleId)/> 8<#assign categoryList=assetCategoryLocalServiceUtil.getCategories("com.liferay.journal.model.JournalArticle",articleResourcePK) > 9<#assign asset = assetEntryLocalService.getEntry('com.liferay.journal.model.JournalArticle', articleResourcePK) > 10 11<div class="box-inform"> 12 <#if ImagenPrincipal1?? && ImagenPrincipal1.getData()?? && ImagenPrincipal1.getData() != ""> 13 <a href="${friendlyURLs[themeDisplay.getLanguageId()]}" class="image" style="background-image:url(${ImagenPrincipal1.getData()})" title="${ImagenPrincipal1.getAttribute("alt")}"> 14 <#else> 15 <a href="${friendlyURLs[themeDisplay.getLanguageId()]}" class="image" style="background-color:gray" title="noticia destacada"> 16 </#if> 17 <div class="categories-list"> 18 <#list categoryList as category> 19 20 <#if (category.vocabularyId = 67255 )> 21 <#if (category?index lt 2)> 22 <span> 23 ${category.name} 24 </span> 25 </#if> 26 <#if (category.vocabularyId = 67255 ) && (category?index == 2)> 27 <span class="more"> 28 + 29 </span> 30 </#if> 31 32 </#if> 33 34 </#list> 35 </div> 36 37 </a> 38 39 40 <div class="info-content"> 41 <a href="${friendlyURLs[themeDisplay.getLanguageId()]}"> 42 <p class="title-news">${Titulo.getData()}</p> 43 <div class="description-notice"> 44 45 ${Entradilla.getData()} 46 47 </div> 48 </a> 49 <div class="d-flex date-share flex-wrap justify-content-between"> 50 <span class="date">${dateUtil.getDate(asset.getPublishDate(), "dd MMM yyyy", locale)}</span> 51 <div class="cat-share d-flex"> 52 <#list categoryList as category> 53 <#if (category.vocabularyId = 67258 )> 54 <a target="_blank" href="/web/guest/noticias/-/categories/${category.categoryId}" class="cat"> 55 ${category.name} 56 </a> 57 </#if> 58 </#list> 59 <#-- <span class="share"> 60 61 </span> --> 62 </div> 63 </div> 64 <#-- <a href="${friendlyURLs[themeDisplay.getLanguageId()]}">VER MÁS</a> --> 65 66 </div> 67 </div> 68 69</div>