Er trad een fout op tijdens de verwerking van de sjabloon.
The following has evaluated to null or missing:
==> localeCategoryId  [in template "1369164#1369202#12992676" at line 70, column 38]

----
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: #if localeCategoryId == categorySubId...  [in template "1369164#1369202#12992676" at line 70, column 33]
----
1<#assign  
2  assetVocabularyLocalService = objectUtil('com.liferay.asset.kernel.service.AssetVocabularyLocalServiceUtil') 
3  assetCategoryLocalService  = serviceLocator.findService('com.liferay.asset.kernel.service.AssetCategoryLocalService') 
4  assetCategoryPropertyLocalService  = serviceLocator.findService('com.liferay.asset.category.property.service.AssetCategoryPropertyLocalService') 
5/> 
6 
7<#-- VARIABLES --> 
8<#assign  
9  assetVocabulary = assetVocabularyLocalService.getGroupVocabulary(groupId, 'Mapas y folletos') 
10  vocabularyId = assetVocabulary.getVocabularyId() 
11  CategoriesList = assetCategoryLocalService.getVocabularyCategories(vocabularyId, -1, -1, null) 
12/> 
13<#assign  
14    assetVocabulary = assetVocabularyLocalService.getGroupVocabulary(groupId, 'Idiomas de contenidos de portal') 
15    vocabularyId = assetVocabulary.getVocabularyId() 
16    idiomasCategoryList = assetCategoryLocalService.getVocabularyCategories(vocabularyId, -1, -1, null) 
17/> 
18<#list idiomasCategoryList as idiomaCategory> 
19  <#attempt> 
20    <#if (locale == assetCategoryPropertyLocalService.getCategoryProperty(idiomaCategory.getCategoryId(),'locale').value) > 
21      <#assign localeCategoryId = idiomaCategory.getCategoryId() /> 
22    </#if> 
23  <#recover> 
24  </#attempt> 
25</#list> 
26 
27<#if entries?has_content> 
28     <div class="tur-titular"> 
29    	<div class="container"> 
30    		<div class="row"> 
31    			<div class="col-xxs-12 col-xxs-offset-0 col-xs-12 col-xs-offset-0 col-sm-12 col-sm-offset-0 col-md-10 col-md-offset-1"> 
32					<#assign categories = entry.getCategories() /> 
33					<#list categories as category> 
34						<#list CategoriesList as CategoryList> 
35						  <#attempt> 
36							  <#if CategoryList.getCategoryId()==category.getCategoryId()> 
37								<#if !(category.getParentCategory()??)> 
38									  <h2>${category.getTitle(locale)}</h2> 
39									<#assign CategoryId = category.getCategoryId() />  
40								</#if> 
41							  </#if> 
42							 
43						  <#recover> 
44						  </#attempt> 
45						</#list> 
46					</#list> 
47    			</div> 
48    		</div> 
49    	</div> 
50    </div> 
51</#if> 
52<#if entries?has_content> 
53    <div class="container-fluid bgcolor-gray"> 
54        <div class="col-xs-12 col-xs-offset-0 col-sm-12 col-sm-offset-0 col-md-10 col-md-offset-1"> 
55            <div class="row tur_listarpdf"> 
56     
57				<#list CategoriesList as CategoryList> 
58					 
59					<#if (CategoryList.getParentCategory()??)> 
60						<#assign categoriaPadre=CategoryList.getParentCategory()> 
61						 
62						<#if (categoriaPadre.categoryId == CategoryId)> 
63                  <#list entries as entry> 
64                    <#assign categoriesSubTitle = entry.getCategories() /> 
65                    <#list categoriesSubTitle as categorySub> 
66                        <#assign hayCategoria = false /> 
67                        <#if CategoryList.getCategoryId()==categorySub.getCategoryId()> 
68                            <#assign hayContenido = false />   
69                            <#list categoriesSubTitle as categorySubIdioma> 
70                                <#if localeCategoryId==categorySubIdioma.getCategoryId()> 
71                                    <#assign hayContenido = true /> 
72                                    <#assign hayCategoria = true /> 
73                                    <#break> 
74                                </#if> 
75                            </#list> 
76                        </#if> 
77                        <#if hayCategoria & hayContenido> 
78                          <#break> 
79                        </#if> 
80                    </#list> 
81                    <#if hayCategoria & hayContenido> 
82                      <#break> 
83                    </#if> 
84                  </#list> 
85                  <#if hayContenido> 
86                    <h3>${CategoryList.getTitle(locale)}</h3> 
87                  </#if> 
88              <#if hayContenido> 
89                <div class="pb-5"> 
90                  <ul> 
91                    <#list entries as entry> 
92                        <#assign categories = entry.getCategories() /> 
93                        <#list categories as category> 
94                            <#if CategoryList.getCategoryId()==category.getCategoryId()> 
95                                <#assign hayLocale = false />  
96                                <#list categories as categoryIdioma> 
97                                    <#if localeCategoryId==categoryIdioma.getCategoryId()> 
98                                        <#assign hayLocale = true /> 
99                                        <#break> 
100                                    </#if> 
101                                </#list> 
102                                <#if hayLocale> 
103                                    <#assign  
104                                        assetRenderer = entry.getAssetRenderer() 
105                                        journalArticle = assetRenderer.getAssetObject()       
106                                    /> 
107                                    <li> 
108                                         
109                                        <@liferay_journal["journal-article"] 
110                                        articleId=journalArticle.getArticleId() 
111                                        ddmTemplateKey="12992663" 
112                                        groupId=journalArticle.getGroupId() 
113                                        />     				 
114                                    </li> 
115                                </#if> 
116                                 
117                            </#if>	 
118                        </#list> 
119                    </#list>		 
120                  </ul> 
121                </div> 
122              </#if> 
123						</#if>	 
124							 
125					</#if>	 
126					 
127				</#list> 
128    	 
129    			 
130            </div> 
131        </div> 
132    </div> 
133</#if> 
Er trad een fout op tijdens de verwerking van de sjabloon.
The following has evaluated to null or missing:
==> localeCategoryId  [in template "1369164#1369202#12992672" at line 65, column 38]

----
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: #if localeCategoryId == categoryIdiom...  [in template "1369164#1369202#12992672" at line 65, column 33]
----
1<#assign  
2 
3  assetVocabularyLocalService = objectUtil('com.liferay.asset.kernel.service.AssetVocabularyLocalServiceUtil') 
4 
5  assetCategoryLocalService  = serviceLocator.findService('com.liferay.asset.kernel.service.AssetCategoryLocalService') 
6  assetCategoryPropertyLocalService  = serviceLocator.findService('com.liferay.asset.category.property.service.AssetCategoryPropertyLocalService') 
7/> 
8 
9<#-- VARIABLES --> 
10<#assign  
11  assetVocabulary = assetVocabularyLocalService.getGroupVocabulary(groupId, 'Mapas y folletos') 
12  vocabularyId = assetVocabulary.getVocabularyId() 
13  CategoriesList = assetCategoryLocalService.getVocabularyCategories(vocabularyId, -1, -1, null) 
14/> 
15<#assign  
16    assetVocabulary = assetVocabularyLocalService.getGroupVocabulary(groupId, 'Idiomas de contenidos de portal') 
17    vocabularyId = assetVocabulary.getVocabularyId() 
18    idiomasCategoryList = assetCategoryLocalService.getVocabularyCategories(vocabularyId, -1, -1, null) 
19/> 
20<#list idiomasCategoryList as idiomaCategory> 
21  <#attempt> 
22    <#if (locale == assetCategoryPropertyLocalService.getCategoryProperty(idiomaCategory.getCategoryId(),'locale').value) > 
23      <#assign localeCategoryId = idiomaCategory.getCategoryId() /> 
24    </#if> 
25  <#recover> 
26  </#attempt> 
27</#list> 
28 
29 
30<#if entries?has_content> 
31     <div class="tur-titular"> 
32    	<div class="container"> 
33    		<div class="row"> 
34    			<div class="col-xxs-12 col-xxs-offset-0 col-xs-12 col-xs-offset-0 col-sm-12 col-sm-offset-0 col-md-10 col-md-offset-1"> 
35					<#assign categories = entry.getCategories() /> 
36					<#list categories as category> 
37						<#list CategoriesList as CategoryList> 
38						  <#attempt> 
39							  <#if CategoryList.getCategoryId()==category.getCategoryId()> 
40								<#if !(category.getParentCategory()??)> 
41									<h2>${category.getTitle(locale)}</h2> 
42								</#if> 
43							  </#if> 
44							<#assign CategoryId = category.getCategoryId() />  
45						  <#recover> 
46						  </#attempt> 
47						</#list> 
48					</#list> 
49    			</div> 
50    		</div> 
51    	</div> 
52    </div> 
53</#if> 
54<div class="container-fluid bgcolor-gray"> 
55    <div class="col-xs-12 col-xs-offset-0 col-sm-12 col-sm-offset-0 col-md-10 col-md-offset-1"> 
56        <div class="row tur_listarpdf"> 
57 
58            <#if entries?has_content> 
59                <div class="py-5"> 
60					<ul>						 
61                        <#list entries as entry> 
62                            <#assign hayLocale = false /> 
63                            <#assign categories = entry.getCategories() /> 
64                            <#list categories as categoryIdioma> 
65                                <#if localeCategoryId==categoryIdioma.getCategoryId()> 
66                                    <#assign hayLocale = true /> 
67                                    <#break> 
68                                </#if> 
69                            </#list> 
70                            <#if hayLocale> 
71                                <#assign  
72                                    assetRenderer = entry.getAssetRenderer() 
73                                    journalArticle = assetRenderer.getAssetObject()       
74                                /> 
75                                <li> 
76                                    <@liferay_journal["journal-article"] 
77                                    articleId=journalArticle.getArticleId() 
78                                    ddmTemplateKey="12992663" 
79                                    groupId=journalArticle.getGroupId() 
80                                    />     				 
81                                </li> 
82                            </#if> 
83                        </#list> 
84                    </ul> 
85                </div> 
86            </#if> 
87			 
88        </div> 
89    </div> 
90</div>