Buscando, por favor espere....

Estás en: Gobierno abierto

Gobierno abierto | Ayuntamiento de Valencia - València

ACTUALIDAD


Se ha producido un error al procesar la plantilla.
Java method "com.sun.proxy.$Proxy935.fetchLatestArticle(long)" threw an exception when invoked on com.sun.proxy.$Proxy935 object "com.liferay.journal.service.impl.JournalArticleLocalServiceImpl@10744760"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign article = JournalArticleLocal...  [in template "20115#20151#9665504" at line 27, column 20]
----
1<!-- servicios --> 
2<#assign JournalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") /> 
3<#assign serviceContext = staticUtil["com.liferay.portal.kernel.service.ServiceContextThreadLocal"].getServiceContext()> 
4<#assign themeDisplay = serviceContext.getThemeDisplay() /> 
5<#assign url = themeDisplay.getURLCurrent() /> 
6 
7<!-- variables --> 
8<!-- structureKey (no el id de la estructura) --> 
9<#assign plantilla = '1429072' /> 
10<#assign plantilla_sinfoto = '10045000' /> 
11<#assign containerHeight = '450px' /> 
12<#assign containerWidth = '100%' /> 
13<#assign borderBetween = '5px' /> 
14 
15 
16<#assign count = 0 /> 
17<#if entries?has_content> 
18 
19 
20    <div class="container"> 
21 
22        <div class="row m-0" id="publicador-noticias"> 
23 
24           <#list entries as curEntry> 
25	           <#assign  assetRenderer = curEntry.getAssetRenderer() /> 
26	           <#assign journalArticle = assetRenderer.getAssetObject() /> 
27	           <#assign article = JournalArticleLocalService.fetchLatestArticle(getterUtil.getLong(curEntry.getClassPK())) /> 
28 
29	           <#assign entryTitle = htmlUtil.escape(assetRenderer.getUrlTitle()) /> 
30	           <#assign viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, curEntry)/> 
31	           <#assign count = count + 1 /> 
32 
33	           <#if count==1> 
34                    <div class="col-8 col-xl-8 col-lg-8 col-md-8 col-sm-12 col-xs-12 p-0  mb-1 first-column"> 
35                        <@liferay_journal["journal-article"] 
36                        articleId=article.getArticleId() 
37                        ddmTemplateKey=plantilla 
38                        groupId=article.getGroupId() 
39                        /> 
40                    </div> 
41                    <div class="col-4 col-xl- col-lg-4 col-md-4 col-sm-12 col-xs-12 p-0 pl-md-1 pl-sm-0 pt-1">                    
42                        <div class="row m-0 ml-2 altura-maxima" > 
43                            <#assign lang = themeDisplay.getLocale()> 
44                            <#assign urlContext = ""> 
45                            <#if lang == "es_ES"> 
46                 <#assign urlContext= "/cas/actualidad"> 
47            <#elseif lang == "ca_ES" > 
48                <#assign urlContext= "/val/actualitat"> 
49            <#else> 
50                <#assign urlContext = "/val/actualitat"> 
51            </#if> 
52                            <a class='view-link' href="${urlContext}/-/content/${entryTitle}">           
53                                <h3 class="bloque-titulo first-column-text"></h3>        
54                            </a>      
55                                <p class="bloque-subtitulo first-column-subtext" style="line-height:normal"></p>  
56                              
57                        </div> 
58                         
59                    </div> 
60                    </div> 
61	           <#elseif count==2> 
62               <div class="row m-0" > 
63                            <div class="col-4 col-xs-6 col-xl-4 col-lg-4 col-md-4 p-0 pr-sm-1 pt-1 assetPublisherHelper-1 publicador-noticias-secundario"> 
64                                <@liferay_journal["journal-article"] 
65                                articleId=article.getArticleId() 
66                                ddmTemplateKey=plantilla 
67                                groupId=article.getGroupId() 
68                                /> 
69                            </div> 
70                <#elseif count==3> 
71                            <div class="col-4 col-xs-6 col-xl-4 col-lg-4 col-md-4 p-0 pl-md-1 pl-sm-0 pt-1 publicador-noticias-secundario"> 
72                                <@liferay_journal["journal-article"] 
73                                articleId=article.getArticleId() 
74                                ddmTemplateKey=plantilla 
75                                groupId=article.getGroupId() 
76                                /> 
77                            </div> 
78                         
79                         
80                            <div class="col-4 col-xs-12 col-xl-4 col-lg-4 col-md-4 p-0 pl-md-1 pl-sm-0 pt-1" style="line-height: normal;"> 
81                             
82                <#elseif count==4> 
83                        		<div class="row m-0 ml-2 no-image line-top line-bottom" >            
84                                    <@liferay_journal["journal-article"] 
85                                    articleId=article.getArticleId() 
86                                    ddmTemplateKey=plantilla_sinfoto 
87                                    groupId=article.getGroupId() 
88                                    /> 
89                                </div> 
90                                <#elseif count==5> 
91                        		<div class="row m-0 ml-2 no-image line-bottom" >        
92                                 
93                                    <@liferay_journal["journal-article"] 
94                                    articleId=article.getArticleId() 
95                                    ddmTemplateKey=plantilla_sinfoto 
96                                    groupId=article.getGroupId() 
97                                    /> 
98                                 
99                                </div> 
100                                <#elseif count==6> 
101                        		<div class="row m-0 ml-2 no-image line-bottom" >            
102                                    <@liferay_journal["journal-article"] 
103                                    articleId=article.getArticleId() 
104                                    ddmTemplateKey=plantilla_sinfoto 
105                                    groupId=article.getGroupId() 
106                                    /> 
107                                 
108                                </div> 
109                </#if> 
110 
111                        	           <#assign entryTitle = htmlUtil.escape(assetRenderer.getUrlTitle()) /> 
112                        	           <#assign viewURL = assetPublisherHelper.getAssetViewURL(renderRequest, renderResponse, curEntry)/> 
113                </#list> 
114                                         
115                                </div> 
116                            </div> 
117        <div class ="row text-center text-md-left mb-4 mb-md-0"> 
118            <div class="col-12 boton_derecha"> 
119			<#if locale=="es_ES"> 
120                <a class="boton_arriba btn btn-estandar publicador-noticias-btn" href="/cas/actualidad${url?keep_after_last("/cas")}"><span class="fa fa-plus"></span>Más noticias<span class="ocultovisual">en Actualidad de la ciudad</span></a> 
121			<#elseif locale=="ca_ES"> 
122				<a class="boton_arriba btn btn-estandar publicador-noticias-btn" href="/val/actualitat${url?keep_after_last("/val")}"><span class="fa fa-plus"></span>Més notícies<span class="ocultovisual">en la Actualitat de la ciutat</span></a> 
123			</#if> 
124            </div> 
125         </div> 
126    </div> 
127<#else> 
128    <div class="container"> 
129        <div class="row"> 
130            <div class="col-12 text-center"> 
131                <h4><@liferay.language key="noticias-sin-resultados" /></h4>     
132            </div>     
133        </div> 
134    </div> 
135</#if> 
136<script> 
137    $('.first-column-text').html($('.first-column').find('.titular-actualidad').html()); 
138    $('.first-column-subtext').html($('.first-column').find('.antetitulo-actualidad').html()); 
139    $('.first-column').find('.titular-actualidad').hide(); 
140    $('.first-column').find('.antetitulo-actualidad').html(""); 
141    $('.no-image').find('.aspect-ratio').hide(); 
142    $('.line-top').find('.news').before('<hr>'); 
143    $('.line-bottom').find('.news').after('<hr>') 
144</script> 
145 
146<style> 
147 .boton_derecha{ 
148    text-align: right !important; 
149    padding-right: 25px !important; 
150    margin-bottom: 15px; 
151
152  .boton_arriba{ 
153          margin-top: 0px !important; 
154
155   
156  .bloque-subtitulo { 
157    font-size: 1rem; 
158
159  .bloque-titulo { 
160       font-size: 1.7rem; 
161
162 
163  .view-link { 
164  outline: none; 
165  text-decoration: none; 
166  color: black; 
167
168 
169.view-link:link { 
170  color: black; 
171
172 
173.view-link:visited { 
174  color: black; 
175
176 
177.view-link:active { 
178   
179  color:black; 
180
181   
182  @media (min-width: 1200px){ 
183  .altura-maxima{ 
184    max-height: 420px; 
185    overflow: hidden; 
186
187
188   
189  @media (min-width: 700px) and (max-width: 1000px){ 
190  .altura-maxima{ 
191    max-height: 255px; 
192    overflow: hidden; 
193
194
195     
196</style> 

TRÁMITES


ENLACES DE INTERÉS


Redes sociales

  • Participa València