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