Se ha producido un error al procesar la plantilla.
The following has evaluated to null or missing:
==> revista_number  [in template "10136#10174#47095546" at line 33, column 29]

----
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: ${revista_number}  [in template "10136#10174#47095546" at line 33, column 27]
----
1<#assign assetCategoryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService") /> 
2<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") /> 
3<#assign assetVocabularyLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetVocabularyLocalService") /> 
4<#assign assetDisplayPageFriendlyURLProvider = serviceLocator.findService("com.liferay.asset.display.page.portlet.AssetDisplayPageFriendlyURLProvider")> 
5<#assign journalArticle = journalArticleLocalService.getArticle(getterUtil.getLong(groupId),.vars['reserved-article-id'].data) /> 
6<#assign categoriesList = assetCategoryLocalService.getCategories("com.liferay.journal.model.JournalArticle", journalArticle.getResourcePrimKey()) /> 
7 
8<#assign vocabularyTemaName = "Tema" /> 
9<#assign vocabularyNRevistaName = "Nº de revista" /> 
10<#assign vocabularyTopicName = "Topic" /> 
11<#assign avoidTopic = "PRINCIPAL" /> 
12 
13<#assign viewURL = assetDisplayPageFriendlyURLProvider.getFriendlyURL("com.liferay.journal.model.JournalArticle", journalArticle.getResourcePrimKey(), themeDisplay)> 
14 
15<article class="hero"> 
16    <div class="headings"> 
17  		<#if categoriesList?has_content> 
18            <#list categoriesList as category> 
19                <#assign categoryVocabulary = assetVocabularyLocalService.getAssetVocabulary(category.getVocabularyId()) /> 
20                <#if categoryVocabulary.getName() == vocabularyNRevistaName> 
21                    <#assign revista_number = category.getTitle(locale)/> 
22                </#if> 
23            </#list> 
24        </#if> 
25        <p class="kicker"> 
26            <#if categoriesList?has_content> 
27                <#list categoriesList as category> 
28                    <#assign categoryVocabulary = assetVocabularyLocalService.getAssetVocabulary(category.getVocabularyId()) /> 
29                    <#if categoryVocabulary.getName() == vocabularyTemaName> 
30                        <a title="${category.getTitle(locale)}">${category.getTitle(locale)}</a> 
31                    </#if> 
32                </#list> 
33                <a title="${revista_number}">${revista_number}</a> 
34                <#list categoriesList as category> 
35                    <#assign categoryVocabulary = assetVocabularyLocalService.getAssetVocabulary(category.getVocabularyId()) /> 
36                    <#if categoryVocabulary.getName() == vocabularyTopicName && category.getTitle(locale) != avoidTopic> 
37                        <a title="${category.getTitle(locale)}">${category.getTitle(locale)}</a> 
38                    </#if> 
39                </#list> 
40            </#if> 
41        </p> 
42     
43        <#assign articleTitle = .vars['reserved-article-title'].data /> 
44        <#if (articleTitle?? && articleTitle != "")> 
45    	    <h2 class="title"> 
46	        ${articleTitle} 
47    	    </h2> 
48        </#if> 
49         
50        <p class="meta"> 
51            <#assign originalLocale = .locale> 
52			<#setting locale = localeUtil.getDefault()> 
53			<#assign fecha = .vars['reserved-article-display-date'].data?datetime("EEE, d MMM yyyy HH:mm:ss Z")> 
54			<#assign locale = originalLocale> 
55 
56            <#if fecha??> 
57            	<span>${fecha?string["d 'de' MMMM 'de' yyyy"]}</span> 
58            </#if> 
59             
60			<#assign tiempo = "" /> 
61			<#if detalle.getData()?? && detalle.getData() != ''> 
62				<#assign content = detalle.getData()?trim /> 
63				<#if content != ""> 
64					<#assign contentCount = content?replace("<[^>]+>", "", "r")?word_list?size /> 
65					<#if contentCount gt 0> 
66						<#assign minutesValue = (contentCount/200)?round /> 
67						<#if minutesValue == 0> 
68							<#assign tiempo = "Unos segundos" /> 
69						<#elseif minutesValue == 1> 
70							<#assign tiempo = minutesValue + " minuto" /> 
71						<#else> 
72							<#assign tiempo = minutesValue + " minutos" /> 
73						</#if> 
74					</#if> 
75				</#if> 
76			</#if>             
77            <#if tiempo?? && tiempo != ""> 
78            	<span>           
79                    <i class="fa fa-regular fa-clock"></i> ${tiempo}      
80            	</span> 
81            </#if> 
82        </p> 
83         
84        <#if autor.getSiblings()?has_content> 
85        	<p class="author">   
86                <#list autor.getSiblings() as cur_autor> 
87                    <#if cur_autor.getData()?? && cur_autor.getData()?has_content> 
88                        <#attempt> 
89    						<#assign jsonObject = cur_autor.getData()?eval/> 
90    						<#assign articleClassPK = jsonObject.classPK />	 
91    						<#assign articleGroupId = getterUtil.getLong(jsonObject.groupId) />		 
92    						<#assign article = journalArticleLocalService.fetchLatestArticle(articleClassPK?number)>	 
93    						<#assign aArticleXML = saxReaderUtil.read(article.getContentByLocale(locale)) /> 
94    						<#assign nombre = aArticleXML.valueOf("//dynamic-element[@name='nombre']/dynamic-content/text()") /> 
95    						<#assign apellidos = aArticleXML.valueOf("//dynamic-element[@name='apellidos']/dynamic-content/text()") /> 
96    						<a title="${nombre} ${apellidos}">${nombre} ${apellidos}</a> 
97    					<#recover> 
98    					</#attempt> 
99                    </#if> 
100                </#list>          
101        	</p> 
102        </#if> 
103    </div> 
104     
105    <#if (imagen.getData())?? && imagen.getData() != ""> 
106    	<figure class="media">     
107            <img alt="${imagen.getAttribute("alt")}" data-fileentryid="${imagen.getAttribute("fileEntryId")}" src="${imagen.getData()}" />      
108    	</figure> 
109    </#if> 
110</article> 

Nuestro Tiempo es la revista cultural y de cuestiones actuales de la Universidad de Navarra, una universidad que lleva a cabo su actividad docente, investigadora y asistencial sin ánimo de lucro.

En consonancia con ese espíritu de servicio, Nuestro Tiempo es una revista gratuita. Su contenido está accesible en internet, y enviamos también la edición impresa a los donantes de la Universidad

Haz una donación

descubre el papel

Artículos relacionados


Newsletter