Aggregatore Risorse

angle-left SERVIZIO APPALTI - Lavori di messa in sicurezza e adeguamento alle norme di prevenzione incendi dell'edificio sede dell'istituto A.Gramsci sito in via Decio Mure a Monserrato - Attestazione di avvenuta efficacia dell'aggiudicazione definitiva (Art. 32 co. 7 D.Lgs. 50/2016)
Si è verificato un errore nell'elaborarazione del modello.
Java method "com.sun.proxy.$Proxy112.getDLFileEntryByUuidAndGroupId(String, long)" threw an exception when invoked on com.sun.proxy.$Proxy112 object "com.liferay.portlet.documentlibrary.service.impl.DLFileEntryLocalServiceImpl@720adb9a"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign file = dLFileEntryLocalServic...  [in template "20116#20160#86930" at line 83, column 37]
----
1<#assign layoutLocalService = serviceLocator.findService("com.liferay.portal.kernel.service.LayoutLocalService")> 
2<#assign dLFileEntryLocalService = serviceLocator.findService("com.liferay.document.library.kernel.service.DLFileEntryLocalService")> 
3 
4<#-- Labels --> 
5<#assign attachLabel = "Allegati"> 
6<#assign relatedLabel = "Link Correlati"> 
7 
8 
9<#assign DataDiPubblicazione_Data = getterUtil.getString(DataDiPubblicazione.getData())> 
10<#if validator.isNotNull(DataDiPubblicazione_Data)> 
11    <#assign startDate_DateObj = dateUtil.parseDate("yyyy-MM-dd", DataDiPubblicazione_Data, locale)> 
12    <#assign formattedStartDate = dateUtil.getDate(startDate_DateObj, "dd MMMM yyyy", locale)> 
13    <#assign datetimeStartDate = dateUtil.getDate(startDate_DateObj, "dd-MMM-yyyy HH:mm:ss", locale)> 
14</#if> 
15 
16<#assign DataDiFinePubblicazione_Data = getterUtil.getString(DataDiFinePubblicazione.getData())> 
17<#if validator.isNotNull(DataDiFinePubblicazione_Data)> 
18    <#assign endDate_DateObj = dateUtil.parseDate("yyyy-MM-dd", DataDiFinePubblicazione_Data, locale)> 
19    <#assign formattedEndDate = dateUtil.getDate(endDate_DateObj, "dd MMMM yyyy", locale)> 
20    <#assign datetimeEndDate = dateUtil.getDate(endDate_DateObj, "dd-MMM-yyyy HH:mm:ss", locale)> 
21</#if> 
22 
23<style> 
24    .articolo time { 
25        display: inline!important; 
26        margin: 0!important; 
27        font-size: 100%; 
28        color: #1C2024; 
29
30     
31    #main-content #column-2 .journal-content-article .articolo {display: none} 
32</style> 
33 
34<div class="u-layout-wide u-layoutCenter u-layout-withGutter u-padding-r-top u-padding-bottom-xxl"> 
35    <h2 class="u-text-h2"> 
36        ${Oggetto.getData()} 
37    </h2> 
38    <div class="Grid Grid--withGutter"> 
39        <div class="Grid-cell u-md-size8of12 u-lg-size8of12"> 
40            <article class="Prose u-layout-prose"> 
41                 
42                <#-- DATE EVENTO --> 
43                <#if formattedStartDate != ""> 
44                    <#if (formattedStartDate == formattedEndDate)> 
45                        <div datetime="${datetimeStartDate}" class="small">${formattedStartDate}</div> 
46                    <#else> 
47                        <div> 
48                            <span class="u-textWeight-700">Data Inizio </span>:  
49                            <span datetime="${datetimeStartDate}" class="small"> 
50                                ${formattedStartDate} 
51                            </span> 
52                        </div> 
53                        <div> 
54                            <span class="u-textWeight-700">Data Fine </span>: 
55                            <span datetime="${datetimeEndDate}" class="small"> 
56                                ${formattedEndDate} 
57                            </span> 
58                        </div> 
59                    </#if> 
60                </#if> 
61                <#if Tipologia.getData()?has_content> 
62                    <div><span class="u-textWeight-700">Tipo</span>: ${Tipologia.getData()}</div> 
63                </#if> 
64                <#if Oggetto.getData()?has_content> 
65                    <div><span class="u-textWeight-700">Oggetto</span>: ${Oggetto.getData()}</div> 
66                </#if> 
67                <#if Note.getData()?has_content> 
68                    <div><span class="u-textWeight-700">Note</span>: ${Note.getData()}</div> 
69                </#if> 
70                 
71                <#-- ALLEGATI --> 
72                <#if Allegati.getSiblings()?has_content> 
73                	<#list Allegati.getSiblings() as attachment> 
74                        <#if attachment.getData() != ""> 
75                            <#if attachment_index == 0> 
76                                <h4>${attachLabel}</h4> 
77                                <ul class="attach-list"> 
78                            </#if> 
79                        	<li> 
80                    		    <#assign fileNameElements = attachment.getData()?split("/")> 
81                    		    <#assign dlFileEntryuuid = fileNameElements[fileNameElements?size - 1]> 
82 
83                    		    <#assign file = dLFileEntryLocalService.getDLFileEntryByUuidAndGroupId(dlFileEntryuuid, getterUtil.getLong(groupId))> 
84                        		<a href="${attachment.getData()}" title="Scarica ${file.getFileName()}"> 
85                        		    <span class="fa fa-download"></span> 
86                        		    ${file.getFileName()} 
87                        		</a> 
88                        	</li>	 
89                        	<#if attachment_index == Allegati.getSiblings()?size> 
90                                </ul>	 
91                            </#if> 
92                        </#if> 
93                	</#list> 
94                </#if> 
95                 
96                <#-- AREE TEMATICHE --> 
97                <#if tematismo.getSiblings()?has_content> 
98            	    <#list tematismo.getSiblings() as cur_areaTematica> 
99            	    <#if cur_areaTematica.getData() != ""> 
100                	   <#if cur_areaTematica_index == 0> 
101                        <h4>Area Tematica</h4> 
102                	    <ul class="tags-list"> 
103                	    </#if> 
104                	    <#assign currentLayout = layoutLocalService.getLayout(getterUtil.getLong(groupId),false,getterUtil.getLong(cur_areaTematica.getData()))> 
105                        <#assign pageTitle = currentLayout.getHTMLTitle(locale)> 
106                        <li class="single-tag"> 
107                		<a href="${cur_areaTematica.getFriendlyUrl()}"> 
108                			${pageTitle} 
109                		</a> 
110                		</li> 
111                		<#if cur_areaTematica_index == 0> 
112                        </ul> 
113                		</#if> 
114            	    </#if> 
115                    </#list> 
116                    </ul> 
117                </#if>         
118                 
119            <article> 
120        </div> 
121    </div> 
122</div>