Eduki publikatzailea

hiribusaren udarako ordutegia

Errorea gertatu da txantiloia prozesatzerakoan.
Java method "com.liferay.portal.kernel.util.DateUtil_IW.parseDate(String, String, Locale)" threw an exception when invoked on com.liferay.portal.kernel.util.DateUtil_IW object "com.liferay.portal.kernel.util.DateUtil_IW@17e367f7"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign date_DateObj = dateUtil.parse...  [in template "21222#21260#3765731" at line 47, column 25]
----
1<!-- IDIOMAS --> 
2<#include "${templatesPath}/3765909" /> 
3 
4<#assign fileEntryService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryLocalService") > 
5<#assign textFormatter = staticUtil["com.liferay.portal.kernel.util.TextFormatter"] > 
6 
7<#assign serviceContext = staticUtil["com.liferay.portal.kernel.service.ServiceContextThreadLocal"].getServiceContext() /> 
8<#assign httpServletRequest = serviceContext.getRequest() /> 
9 
10<#assign og_image = themeDisplay.getPortalURL() + image.getData() /> 
11 
12<#assign currentUrl = themeDisplay.getPortalURL() + themeDisplay.getURLCurrent() /> 
13 
14<#assign VOID = httpServletRequest.setAttribute("META_TAG_twitter:card", "summary_large_image" ) /> 
15<#assign VOID = httpServletRequest.setAttribute("META_TAG_og:title", title.getData()?replace("\"","\'") ) /> 
16<#assign VOID = httpServletRequest.setAttribute("META_TAG_og:url", currentUrl ) /> 
17<#assign VOID = httpServletRequest.setAttribute("META_TAG_og:image", og_image ) /> 
18 
19<#assign title_text = title.getData()?replace("\"","\'") /> 
20<a class="hide" href='https://twitter.com/intent/tweet?url=${currentUrl}&amp;text=${title_text}' rel="noreferrer" title="Compartir con Twitter" target="_blank">Twitter</a> 
21 
22<div class="container"> 
23    <div class="row clearfix"> 
24    	<div class="col-xs-12"> 
25    		<div class="zt-box-detail-header"> 
26    			<h1>${title.getData()}</h1> 
27    		</div> 
28    	</div> 
29    </div> 
30    <#if image.getData()??> 
31    	<div class="row"> 
32        	<div class="zt-box zt-box-1 col-xs-12"> 
33        		<div class="zt-box-bg-img"> 
34        			<img src="${image.getData()}" alt="${image.alt.getData()}" /> 
35        		</div> 
36        	</div> 
37    	</div> 
38    </#if> 
39    <a class="share-what" href="whatsapp://send?text=${currentUrl}" target="_blank"> 
40        <span>${i18nShareWhat}</span> 
41        <img src="/documents/2952655/16158782/what.png/1d7cba19-f205-ad0f-2610-a5edd4807d6d?t=1594643797497"> 
42    </a> 
43    <#if date.getData()??> 
44    	<div class="row"> 
45    		<div class="col-xs-12"> 
46    			<div> 
47                	<#assign date_DateObj = dateUtil.parseDate("yyyy-MM-dd", date.getData(),locale)> 
48                	<#assign dateCast = dateUtil.getDate(date_DateObj, "dd/MM/yyyy", locale) > 
49                	<#assign dateEusk = dateUtil.getDate(date_DateObj, "yyyy/MM/dd", locale) > 
50                	 
51                <#if locale == "es_ES" > 
52                    <p>${dateCast}</p> 
53                <#else> 
54                    <p>${dateEusk}</p> 
55                </#if> 
56        	    </div> 
57    		</div> 
58    	</div> 
59    </#if> 
60	<#if description.getData()??> 
61    	<div class="row"> 
62    		<div class="col-xs-12"> 
63    			<div> 
64    				<#-- <h2>${i18nInforacionG}</h2> --> 
65    				<p>${description.getData()}</p> 
66    			</div> 
67    		</div> 
68    	</div> 
69    </#if> 
70	<#if document.getData()?? && document.getSiblings()?has_content && document.getSiblings()[0].getData()!=""> 
71	<div class="row"> 
72    	<div class="col-xs-12"> 
73    	    <h2 class="zt-h2-text">${i18nDeskargatzeko}</h2> 
74    	    <div class="thumbnails"> 
75	            <#list document.getSiblings() as cur_document> 
76	                <#if cur_document??> 
77	                    <#if cur_document.data!=""> 
78        	                <#assign customFieldJson =  cur_document.data?eval > 
79            	            <#assign fileEntry = getFileEntry(customFieldJson.groupId, customFieldJson.uuid) > 
80                            <#assign size = textFormatter.formatStorageSize(fileEntry.size, locale) > 
81                            <div class="col-xs-4 col-sm-2"> 
82								<a href="${cur_document.getData()}" class="thumbnail"><img src="${cur_document.preview.getData()}" alt="" /></a> 
83								<a href="${cur_document.getData()}"><p>${cur_document.documentTitle.getData()} (${fileEntry.extension?upper_case} ${size})</p></a> 
84							</div> 
85						</#if> 
86                	</#if> 
87	            </#list> 
88            </div> 
89        </div> 
90	</div> 
91	</#if> 
92</div> 
93 
94<#function getFileEntry id, uuid > 
95 
96    <#assign group_id = getterUtil.getLong(id) > 
97    <#return fileEntryService.getDLFileEntryByUuidAndGroupId(uuid?string, group_id) /> 
98</#function> 

Bilatuenak

Bilatuenak

  • Larrialdiak
    112
  • Udaltzaingoa
    943 005 115
  • Udal Informazioa
    943 005 100
    Udal Informazioa Zarauztik
    010