Arabako Popularrak batzarkide taldea - JJGG-BBNN
2011-2015 legegintzaldia
Batzarkide taldeak
Errorea gertatu da txantiloia prozesatzerakoan.
The following has evaluated to null or missing:
==> AssetEntryLocalService.fetchEntry(article.className,article.classPK?number) [in template "37727#37775#DETALLE_GRUPO_JUNTERO" at line 101, column 66]
----
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 = AssetEntryLocalServic... [in template "37727#37775#DETALLE_GRUPO_JUNTERO" at line 101, column 49]
----
1<#--
2<#assign AssetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService")>
3<#assign currentUrl = themeDisplay.getPortalURL() + themeDisplay.getURLCurrent() />
4<#assign indexElem = paramUtil.getString(request, renderResponse.getNamespace() + "indexElem") />
5<#if (indexElem?has_content && indexElem?number >-1)>
6 <#assign webContent = procuradores.procurador.getSiblings()[indexElem?number]>
7 <#assign article = webContent.getData()?eval />
8 <#assign entry = AssetEntryLocalService.fetchEntry(article.className, article.classPK?number)/>
9 <#assign assetRender = entry.getAssetRenderer() />
10 <#assign journalArticle = assetRender.getAssetObject() />
11 <@liferay_journal["journal-article"] articleId=journalArticle.getArticleId() ddmTemplateKey="PROCURADOR" groupId=journalArticle.getGroupId()/>
12<#else>
13 <#if procuradores.procurador.getSiblings()?has_content>
14 <section class="listado-procuradores">
15 <div class="titulo-nivel-1">
16 <img style="float:right;" src="${informacion.imagen.getData()}"/>
17 <h2 class="titulo-2">${.vars['reserved-article-title'].data} (${procuradores.procurador.getSiblings()?size}/${info_legislatura.num_procuradores.getData()})</h2>
18 </div>
19 <div class="container">
20 <div class="row informacion-procurador">
21 <#list procuradores.procurador.getSiblings() as procurador>
22 <#assign article = procurador.getData()?eval />
23 <#assign entry = AssetEntryLocalService.fetchEntry(article.className,article.classPK?number) />
24 <#assign assetRender = entry.getAssetRenderer() />
25 <#assign journalArticle = assetRender.getAssetObject() />
26 <#assign currentUrl = themeDisplay.getPortalURL() + themeDisplay.getURLCurrent() />
27 <#assign currentUrl = freemarkerHttpUtilities.removeParameter(currentUrl, renderResponse.getNamespace() + "redirect") />
28 <#assign currentUrl = freemarkerHttpUtilities.addParameter(currentUrl, renderResponse.getNamespace() + "redirect", currentUrl) />
29 <#assign detailUrl = freemarkerHttpUtilities.addParameter(currentUrl, renderResponse.getNamespace() + "indexElem", procurador?index) />
30 <div class="col-md-2">
31 <a href="${detailUrl}">
32 <@liferay_journal["journal-article"] articleId=journalArticle.getArticleId() ddmTemplateKey="PROCURADOR_LISTADO" groupId=journalArticle.getGroupId() />
33 </a>
34 </div>
35 </#list>
36 </div>
37 <div class=" row informacion-grupo-juntero">
38 <div class="col-md-12">
39 ${languageUtil.get(locale, "template-detalle-grupo-juntero-texto-primero")}
40 ${languageUtil.get(locale, "template-detalle-grupo-juntero-texto-segundo")}
41 </div>
42 <div class="col-md-4">
43 <i class="icon-phone"></i>${informacion.telefono.getData()}
44 </div>
45 <div class="col-md-4">
46 <i class="icon-envelope"></i>${informacion.email.getData()}
47 </div>
48 <div class="col-md-4">
49 <i class="icon-desktop"></i>${informacion.web.getData()}
50 </div>
51 </div>
52 </div>
53 </section>
54 </#if>
55</#if>
56-->
57<style>
58 #wrapper>.titulo-de-pagina {
59 display: none;
60 }
61</style>
62
63<#assign AssetEntryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetEntryLocalService")>
64<#assign AssetCategoryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService")>
65<#assign AssetVocabularyLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetVocabularyLocalService")>
66<#assign currentUrl = themeDisplay.getPortalURL() + themeDisplay.getURLCurrent() />
67<#assign indexElem = paramUtil.getString(request, renderResponse.getNamespace() + "indexElem") />
68<#if (indexElem?has_content && indexElem?number >-1)>
69 <#assign webContent = procuradores.procurador.getSiblings()[indexElem?number]>
70 <#assign article = webContent.getData()?eval />
71 <#assign entry = AssetEntryLocalService.fetchEntry(article.className, article.classPK?number)/>
72 <#assign assetRender = entry.getAssetRenderer() />
73 <#assign journalArticle = assetRender.getAssetObject() />
74
75 <@liferay_journal["journal-article"] articleId=journalArticle.getArticleId() ddmTemplateKey="PROCURADOR" groupId=journalArticle.getGroupId()/>
76<#else>
77 <#assign procNumber = procuradores.procurador.getSiblings()?size />
78 <#if procNumber == 1 && procuradores?has_content && procuradores.procurador?has_content && !procuradores.procurador.getSiblings()?first.getData()?has_content>
79 <#assign procNumber = 0 />
80 </#if>
81
82 <#if procuradores?has_content && procuradores.procurador?has_content && procuradores.procurador.getSiblings()?first.getData()?has_content>
83 <section class="titulo-de-pagina">
84 <div class="container">
85 <a class="enlace-a-inicio" href='${currentUrl?split("/-/")[0] }'>${languageUtil.get(locale, "template-detalle-grupo-juntero-volver")}</a>
86 </div>
87 <div class="titulo-principal">
88 <div class="container">
89 <h1 class="titulo-1 titulo-grupo-juntero">
90 <span>${.vars['reserved-article-title'].data} (${info_legislatura.num_procuradores.getData()})</span>
91 <span class="logo" style="background-image: url(${informacion.imagen.getData()})"></span>
92 </h1>
93 </div>
94 </div>
95 </section>
96 <section class="listado-procuradores">
97 <div class="container">
98 <div class="row">
99 <#list procuradores.procurador.getSiblings() as procurador>
100 <#assign article = procurador.getData()?eval />
101 <#assign entry = AssetEntryLocalService.fetchEntry(article.className,article.classPK?number) />
102 <#assign assetRender = entry.getAssetRenderer() />
103 <#assign journalArticle = assetRender.getAssetObject() />
104 <#assign currentUrl = themeDisplay.getPortalURL() + themeDisplay.getURLCurrent() />
105 <#assign currentUrl = freemarkerHttpUtilities.removeParameter(currentUrl, renderResponse.getNamespace() + "redirect") />
106 <#assign currentUrl = freemarkerHttpUtilities.addParameter(currentUrl, renderResponse.getNamespace() + "redirect", currentUrl) />
107 <#assign detailUrl = freemarkerHttpUtilities.addParameter(currentUrl, renderResponse.getNamespace() + "indexElem", procurador?index) />
108
109 <#assign assetPublisherCategoryName = "" />
110 <#assign legislaturasVocabulary = AssetVocabularyLocalService.fetchGroupVocabulary(themeDisplay.getScopeGroupId(), "Legislaturas") />
111
112 <#if legislaturasVocabulary?has_content && entry?has_content>
113 <#list entry.getCategories() as cat>
114 <#if cat.getVocabularyId() == legislaturasVocabulary.getVocabularyId()>
115 <#assign assetPublisherCategoryName = cat.getName() />
116 <#break>
117 </#if>
118 </#list>
119 </#if>
120
121 ${request.setAttribute("assetPublisherCategoryName", assetPublisherCategoryName)}
122
123 <div class="col-md-2 contenedor-entrada">
124 <@liferay_journal["journal-article"] articleId=journalArticle.getArticleId() ddmTemplateKey="PROCURADOR_LISTADO" groupId=journalArticle.getGroupId() />
125 <a class="enlace" href="${detailUrl}"></a>
126 </div>
127 </#list>
128 </div>
129 </div>
130 </section>
131 </#if>
132</#if>
2013/09/10ean, Bildu Batzarkide Taldeak EH Bildu Talde Batzarkidea izena hartuko du.
2015/01/01ean, Ezker Batua-Berdeak Batzarkide Taldeak Ezker Batzarkide Taldea izena hartuko du.