null DPO e GDPR Dettaglio
Si è verificato un errore nell'elaborarazione del modello.
The following has evaluated to null or missing:
==> polizzaProdotto.getTitle()  [in template "20157#20197#4139020" at line 16, column 61]

----
Tip: If the failing expression is known to be 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: ${polizzaProdotto.getTitle()}  [in template "20157#20197#4139020" at line 16, column 59]
----
1<section class="mb-9x mb-md-12x"> 
2	<section class="SectionMain AF-SectionSecondary"> 
3		<div class="SectionMain_container container mb-5x mb-sm-0x"> 
4    		<div class="SectionMain_content row no-gutters"> 
5      			<div class="col-sm-6 offset-sm-0 col-lg-5 offset-lg-1"> 
6        			<div class="AF-SectionSecondary_icon mb-3x"> 
7          				<svg id="Ico-3" xmlns="http://www.w3.org/2000/svg"> 
8            				<use xlink:href="#${Polizza.Icon.getData()}"></use> 
9          				</svg> 
10        			</div> 
11        		 
12        			<#assign journalArticleId = .vars['reserved-article-id'].data /> 
13        			<#if tplToolUtil??> 
14	        			<#assign codiceProdotto = tplToolUtil.getProductCodePolizza(request, journalArticleId) /> 
15	        			<#assign polizzaProdotto = tplToolUtil.getPolizzaByCodProdotto(request, codiceProdotto) /> 
16	        			<h1 class="mb-3x">${polizzaProdotto.getTitle()}</h1> 
17	        			<a href="../preventivazione?codiceProdotto=${codiceProdotto}&versioneProdotto=${polizzaProdotto.getVersion()}&codiceConvenzione=${polizzaProdotto.getCodeConvenzione()}" class="AF-Btn AF-Btn-primary AF-preventivo"> 
18	          				<span class="AF-Btn_label">fai un preventivo</span> 
19	        			</a> 
20	        		</#if> 
21      			</div> 
22    		</div> 
23  		</div> 
24  		<div class="SectionMain_image"> 
25    		<div class="SectionMain_img"></div> 
26  		</div> 
27	</section> 
28</section> 
29 
30<#if ProgrammaPolizza.getData()?has_content> 
31	<div class="container mb-13x mb-md-20x"> 
32		<div class="row"> 
33	    	<div class="col-xs-12 offset-xs-0 col-lg-10 offset-lg-1"> 
34	        	<section class=""> 
35	            	<div class="row"> 
36	              		<div class="col-md-12 AF-InsuranceProgram_title"> 
37	                		<h2>${ProgrammaPolizza.getData()}</h2> 
38	              		</div> 
39	            	</div> 
40	            	<div class="row"> 
41	              		<div class="col-md-7">${ProgrammaPolizza.Description.getData()}</div> 
42	 	 	            <div class="col-md-4 offset-md-1"> 
43	         		    	<div class="AF-Card AF-InsuranceProgram_card"> 
44	                  			<div class="AF-Card_wrap AF-InsuranceProgram_cardWrap"> 
45	                    			<div class="AF-Card_content"> 
46	                      				<p class="AF-InsuranceProgram_cardTitle">${ProgrammaPolizza.Logo.LogoLabel.getData()}</p> 
47	                      				<img src="${ProgrammaPolizza.Logo.getData()}" alt="programma-polizza" /> 
48	                    			</div> 
49	                  			</div> 
50	                		</div> 
51	              		</div> 
52	            	</div> 
53	          	</section> 
54			</div> 
55		</div> 
56	</div> 
57</#if> 
58 
59 
60<#assign JournalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") /> 
61 
62<#-- Vantaggi --> 
63<#assign jsonVantaggi = jsonFactoryUtil.createJSONObject(Vantaggi.getData()) /> 
64<#if jsonVantaggi.classPK??> 
65	<#assign classPK = jsonVantaggi.classPK /> 
66	<#if JournalArticleLocalService.fetchLatestArticle(classPK?number)?has_content> 
67	    <#assign article = JournalArticleLocalService.getLatestArticle(classPK?number)> 
68	    ${journalContent.getContent(groupId, article.getArticleId(), viewMode, "")} 
69	</#if> 
70</#if> 
71 
72<#-- Soluzioni e Consigli --> 
73<#assign jsonSoluzioni = jsonFactoryUtil.createJSONObject(SoluzioniConsigli.getData()) /> 
74<#if jsonSoluzioni.classPK??> 
75	<#assign classPK = jsonSoluzioni.classPK /> 
76	<#if JournalArticleLocalService.fetchLatestArticle(classPK?number)?has_content> 
77	    <#assign article = JournalArticleLocalService.getLatestArticle(classPK?number)> 
78	    ${journalContent.getContent(groupId, article.getArticleId(), viewMode, "")} 
79	</#if> 
80</#if> 
81 
82<#-- Tariffazione --> 
83<#assign jsonTariffazione = jsonFactoryUtil.createJSONObject(Tariffazione.getData()) /> 
84<#if jsonTariffazione.classPK??> 
85	<#assign classPK = jsonTariffazione.classPK /> 
86	<#if JournalArticleLocalService.fetchLatestArticle(classPK?number)?has_content> 
87	    <#assign article = JournalArticleLocalService.getLatestArticle(classPK?number)> 
88	    ${journalContent.getContent(groupId, article.getArticleId(), viewMode, "")} 
89	</#if> 
90</#if> 
91 
92 
93	<#if tplToolUtil??> 
94	        			<#assign codiceProdotto = tplToolUtil.getProductCodePolizza(request, journalArticleId) /> 
95	        			<#if !"codiceProdotto"?contains("landing") > 
96<#-- Portlet DOCUMENTI --> 
97<@liferay_portlet["runtime"] 
98		portletProviderAction=portletProviderAction.VIEW 
99   		instanceId="06031990" 
100   		portletName="affinity-documenti-2019" 
101/> 
102	</#if> 
103</#if> 
104 
105 
106<section class="AF-Page_sectionWithBox-bottom mb-13x mb-md-20x"> 
107	<div class="container"> 
108    	<div class="row"> 
109        	<div class="col-xs-12 offset-xs-0 col-lg-10 offset-lg-1"> 
110            	<div class="AF-Card AF-Card-secondary"> 
111             		<div class="AF-Card_wrap AF-Card-medium AF-Card_bottom"> 
112                		<article class="AF-Card_content"> 
113                  			<div class="AF-Card_header"> 
114                    			<div class="AF-Card_image"> 
115                      				<svg xmlns="http://www.w3.org/2000/svg"> 
116                        				<use xlink:href="#${Polizza.Icon.getData()}"></use> 
117                      				</svg> 
118                    			</div> 
119								<#if tplToolUtil??> 
120									<#assign codiceProdotto = tplToolUtil.getProductCodePolizza(request, journalArticleId) /> 
121									<#assign polizzaProdotto = tplToolUtil.getPolizzaByCodProdotto(request, codiceProdotto) /> 
122                    					<h2 class="AF-Card_title">${polizzaProdotto.getTitle()}</h2> 
123								</#if> 
124                  			</div> 
125                  			<a data-modal="" href="#" class="AF-Btn AF-Btn-primary AF-preventivo"> 
126		    					<span class="AF-Btn_label AF-Btn_label-medium">fai un preventivo</span> 
127							</a> 
128		                </article> 
129              		</div> 
130            	</div> 
131          	</div> 
132        </div> 
133	</div> 
134</section> 
135 
136<style> 
137	.SectionMain_img { 
138	    background: url("${Polizza.Banner.getData()}"); 
139	    background-position: center; 
140		background-size: cover; 
141
142	.taglib-social-bookmarks{ 
143		display:none; 
144
145</style> 
146 
147 
148 
149 
150<script type="text/javascript"> 
151		$(document).ready(function() { 
152			$(document).on('click', '.AF-preventivo', function(e) { 
153			 url =$(".AF-preventivo").attr("href"); 
154			 	urlImp =  window.location.href; 
155				if (urlImp.indexOf("doAsUserId") >= 0){ 
156						var impers = urlImp.substring(urlImp.indexOf("doAsUserId"),urlImp.length); 
157
158						var urlNew= url + "&" + impers; 
159						$(".AF-preventivo").attr("href", urlNew); 
160						 
161				}); 
162			}); 
163</script>