Navigation


Alert Web

HeraAssetPublisherFilterComuneSelector

Choose the municipality

Ci dispiace, il servizio non è attivo nel tuo comune.
Esplora i servizi attivi nel tuo comune:
Inserisci un comune con il servizio di "Ambiente" oppure vai all'Homepage

TestPage

Asset Publisher

an-error-occurred-while-processing-the-template
The following has evaluated to null or missing:
==> docJson.groupId  [in template "20099#20135#4633044" at line 70, column 55]

----
Tip: It's the step after the last dot that caused this error, not those before it.
----
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: immagineUrl = "/documents/" + docJson...  [in template "20099#20135#4633044" at line 70, column 25]
----
1<#if entries?has_content> 
2    <div class="container archivio eventi"> 
3       <#list entries as curEntry> 
4            <#assign 
5                dateFormat = languageUtil.get(locale, "dd_MM_yyyy") 
6                assetRenderer = curEntry.getAssetRenderer() 
7                docXml = saxReaderUtil.read(curEntry.getAssetRenderer().getArticle().getContentByLocale(locale.toString())) 
8                immagineInEvidenza = docXml.valueOf("//dynamic-element[@name='immagine_r13v']/dynamic-content/text()") 
9                descrizione= docXml.valueOf("//dynamic-element[@name='sottotitolo']/dynamic-content/text()") 
10                sottotitolooriginale=docXml.valueOf("//dynamic-element[@name='sottotitolo']/dynamic-content/text()")?replace('<[^>]+>','','r') 
11                link = "/-/" + assetRenderer.getArticle().getUrlTitle() 
12                stylenoimg="" 
13                data_inizio= docXml.valueOf("//dynamic-element[@name='data_inizio']/dynamic-content/text()") 
14                luogo=docXml.valueOf("//dynamic-element[@name='luogo']/dynamic-content/text()") 
15                data_fine= docXml.valueOf("//dynamic-element[@name='data_fine']/dynamic-content/text()") 
16                immagineUrl="" 
17                titlepage="" 
18                titlepage=languageUtil.get(locale, titlepage, layout.getName(locale)) 
19                ora_inizio=docXml.valueOf("//dynamic-element[@name='ora_inizio']/dynamic-content/text()") 
20                ora_fine=docXml.valueOf("//dynamic-element[@name='ora_fine']/dynamic-content/text()") 
21                dateFormatnow = "yyyy-MM-dd" 
22                nowdate=.now?date 
23                nowconverted=dateUtil.getDate(nowdate, dateFormatnow, locale) 
24                /> 
25                 
26                <#assign orainiziodausare="0000" /> 
27                <#assign orafinedausare="2359" /> 
28                 
29                <#if ora_inizio!=""> 
30                    <#assign orainiziodausare=ora_inizio?replace(":","") /> 
31                </#if> 
32                 
33                <#if ora_fine==""> 
34                        <#if data_fine!=""> 
35                            <#assign orafinedausare="0000" /> 
36                        <#else> 
37                            <#assign orafinedausare=orainiziodausare /> 
38                        </#if> 
39                    <#else> 
40                        <#assign orafinedausare=ora_fine?replace(":","") /> 
41                </#if> 
42                 
43                <#if ora_inizio==""> 
44                    <#assign orafinedausare="2359" /> 
45                </#if> 
46                 
47                <#assign data_inizio_Data = getterUtil.getString(data_inizio)> 
48                <#assign data_fine_Data = getterUtil.getString(data_fine)> 
49        		<#if validator.isNotNull(data_inizio_Data)> 
50    			    <#assign data_inizio_DateObj = dateUtil.parseDate("yyyy-MM-dd", data_inizio_Data, locale)> 
51        		</#if> 
52        		 
53        		<#if validator.isNotNull(data_fine_Data)> 
54    			    <#assign data_fine_DateObj = dateUtil.parseDate("yyyy-MM-dd", data_fine_Data, locale)> 
55        		<#else> 
56        		    <#assign data_fine_DateObj = dateUtil.parseDate("yyyy-MM-dd", data_inizio_Data, locale)> 
57        		    <#assign data_fine=data_inizio /> 
58        		</#if> 
59        		 
60        		<#assign location = "" /> 
61        		 
62        		<#assign differenza=((data_fine?datetime("yyyy-MM-dd")?long - nowconverted?datetime("yyyy-MM-dd")?long) / (1000 * 60 * 60 * 24))?int /> 
63        		 
64        		<#if luogo!=""> 
65        		    <#assign location = luogo> 
66        		</#if> 
67                <#if immagineInEvidenza!=""> 
68                    <#assign 
69                        docJson = jsonFactoryUtil.createJSONObject(immagineInEvidenza) 
70                        immagineUrl = "/documents/" + docJson.groupId + "/0/" + docJson.name + "/" + docJson.uuid 
71					/> 
72                </#if> 
73		    <div class="post-item mb-3"> 
74                <a href="${link}" class="tile boxarchivio-round position-relative white-bg"> 
75                    <#if immagineInEvidenza==""> 
76                    <#assign stylenoimg="style='min-height-168'" /> 
77                    </#if> 
78                    <div class="row d-flex align-items-center" ${stylenoimg}> 
79                    <#assign titlereplaced=curEntry.getTitle(locale)?replace("'","") /> 
80                    <#assign titlereplaced=titlereplaced?replace('"','') /> 
81                     
82                    <#assign newics= "BEGIN:VCALENDAR" + "**" + "BEGIN:VTIMEZONE" + "**" + "TZID:Europe/Brussels"+ "**" + "X-LIC-LOCATION:Europe/Brussels" + "**" + "BEGIN:DAYLIGHT" + "**" + "TZOFFSETFROM:+0100" + "**" +"TZOFFSETTO:+0200" + "**" +"TZNAME:CEST" + "**" + "DTSTART:19700329T020000" + "**" +"RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU" + "**" + "END:DAYLIGHT" + "**" + "BEGIN:STANDARD" + "**" + "TZOFFSETFROM:+0200" + "**" + "TZOFFSETTO:+0100" + "**" + "TZNAME:CET" + "**" + "DTSTART:19701025T030000" + "**" + "RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU" + "**" + "END:STANDARD" + "**" +"END:VTIMEZONE" + "**" + "PRODID:-//Gruppo Hera//" + "**" + "VERSION:2.0" + "**" + "BEGIN:VEVENT" + "**" + "DESCRIPTION:"+sottotitolooriginale + " Link to event webpage: " + themeDisplay.getURLPortal()+link + "**" + "DTSTART;TZID=Italia/Milano:"+dateUtil.getDate(data_inizio_DateObj, "yyyyMMdd", locale)+"T"+ orainiziodausare + "00" + "**" + "DTEND;TZID=Italia/Milano:"+dateUtil.getDate(data_fine_DateObj, "yyyyMMdd", locale)+"T"+orafinedausare+ "00" + "**" + "SUMMARY:"+titlereplaced + "**" + "URL:"+ link + "**" + "LOCATION:"+luogo + "**" + "END:VEVENT" + "**" + "END:VCALENDAR" /> 
83                    <#if immagineInEvidenza!=""> 
84                        <div class="col-xs-3 col-md-2"> 
85                            <img title="${docJson.name}" alt="${titlepage}" class="agg-tile-image img-archivio-news" src="${immagineUrl}" /> 
86                        </div> 
87                        <div class="col-xs-9 col-md-10 offset-lg-1 col-lg-9 px-5 px-md-0"> 
88                            <div class="container px-lg-3 pr-xl-4"> 
89                                <#if data_inizio==data_fine || data_fine==""> 
90                                    <div class="black py-2 small mr-3"> 
91    				                    ${dateUtil.getDate(data_inizio_DateObj, "dd/MM/yyyy", locale)} 
92    				                </div> 
93                                <#else> 
94                                        <div class="black py-2 small d-inline"> 
95    				                        Dal ${dateUtil.getDate(data_inizio_DateObj, "dd/MM/yyyy", locale)} 
96    				                </div> 
97                                    <div class="black py-2 small mr-3 d-inline"> 
98            				              al ${dateUtil.getDate(data_fine_DateObj, "dd/MM/yyyy", locale)} 
99            				        </div> 
100            				    </#if> 
101                            <h3 class="titlesize bigger text-uppercase black letter-spacing-sm bolder">${curEntry.getTitle(locale)}</h3> 
102                            <div class="tilesize d-none d-lg-block black">${descrizione}</div> 
103                                <#if (differenza>=0) > 
104                                <div class="mt-2" onclick="downloadfileics(event,'${newics}','${titlereplaced}')"> 
105                                    <p class="small d-inline mr-1">iCal</p> 
106                                    <img src="/o/gruppohera-theme/images/icons/calendario_ical_new.png"> 
107                                </div> 
108                                </#if> 
109                            </div> 
110                        </div> 
111                    <#else> 
112                        <div class="col-xs-12"> 
113                            <div class="container"> 
114        				        <div class="ml-4 black py-2 small mr-3"> 
115        				             ${dateUtil.getDate(data_inizio_DateObj, "dd/MM/yyyy", locale)} 
116        				        </div> 
117                                <h3 class="titlesize bigger ml-4 black letter-spacing-sm bolder"> 
118                                ${curEntry.getTitle(locale)}</h3> 
119                                <div class="tilesize d-none ml-4 d-lg-block black  big">${descrizione}</div> 
120                                <#if (differenza>=0) > 
121                                <div class="mt-2" onclick="downloadfileics(event,'${newics}','${titlereplaced}')"> 
122                                    <p class="small d-inline mr-1">iCal</p> 
123                                    <img src="/o/gruppohera-theme/images/icons/calendario_ical_new.png"> 
124                                </div> 
125                                </#if> 
126                            </div> 
127                        </div> 
128                    </#if> 
129                    </div> 
130    		    </a> 
131    		</div> 
132        </#list> 
133    </div> 
134</#if> 

Asset Publisher

Hera Group - Disclosure of 3Q 2024 Financial results ...

Hera Group - Disclosure of 1H 2024 Financial results ...

CEO Conference Mediobanca ...

Hera Group - Disclosure of 1Q 2024 Financial results ...

Annual General Meeting 2024 ...

Disclosure of financial results as at 31/12/2023 ...

Presentation of the new Business plan 2023-2027 ...

Business Plan to 2027 Roadshow ...

6th Utilities and Infrastructure Conference ...

6th BNP Paribas Exane MidCap CEO Conference 2023 ...

Hera Group Disclosure of 3Q2023 Financial results ...

Italian infrastructure Day ...

Hera Group Disclosure of 1H2023 Financial results ...

2022 dividend payment ...

CEO Conference Mediobanca ...

Goldman Sachs Utilities Conference ...

ltalian Investment Conference ...

Hera Group Disclosure of 1Q2023 Financial results ...

Hera Group Annual General Meeting 2023 ...

Disclosure of financial results as at 31/12/2022 ...

Hera SpA, Viale Carlo Berti Pichat 2/4, 40127 Bologna, Tel.051287111 www.gruppohera.it