Se ha producido un error al procesar la plantilla.
The following has evaluated to null or missing: ==> entries?first [in template "20097#20123#48814" at line 15, column 26] ---- 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: #assign entry = entries?first [in template "20097#20123#48814" at line 15, column 9] ----
1<#attempt>
2 <#assign articleService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")>
3
4 <#assign currentUrl = themeDisplay.getURLCurrent()?replace("/"+locale.getLanguage()+"/", "/")>
5 <#assign array = currentUrl?split("/./", "r")>
6 <#assign titleUrl = "">
7 <#list array as part>
8 <#if (part?index > 0)>
9 <#assign titleUrl += part + "/">
10 </#if>
11 </#list>
12 <#assign titleUrl = titleUrl?split("?")[0]?remove_ending("/")>
13 <#assign journalArticle = articleService.getArticleByUrlTitle(themeDisplay.getScopeGroupId(), titleUrl)>
14<#recover>
15 <#assign entry = entries?first>
16 <#assign
17 assetRenderer = entry.getAssetRenderer()
18 journalArticle = assetRenderer.getAssetObject()
19 />
20</#recover>
21
22<@liferay_journal["journal-article"]
23articleId=journalArticle.getArticleId()
24ddmTemplateKey="48707"
25groupId=journalArticle.getGroupId()
26/>