Contenuto con Pubblicazioni Scientifiche Adulti .

Si è verificato un errore nell'elaborarazione del modello.
The following has evaluated to null or missing:
==> fields[0].getValue().getString(locale)  [in template "20099#20135#95121" at line 51, column 32]

----
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: #assign url = fields[0].getValue().ge...  [in template "20099#20135#95121" at line 51, column 17]
----
1<#-- 
2Application display templates can be used to modify the look of a 
3specific application. 
4 
5Please use the left panel to quickly add commonly used variables. 
6Autocomplete is also available and can be invoked by typing "${". 
7--> 
8<style> 
9 
10    /***Questi stili devono restare qui perchè modificano la paginazione standard****/     
11    .taglib-page-iterator{ 
12        font-family:'Titillium Web'; 
13
14     
15    .pager li>a{ 
16            color:#01B4FF; 
17
18     
19    .pubblicazioni-scientifiche-a{ 
20        color:#002D40; 
21         
22
23     
24    .pubblicazioni-scientifiche-a:hover{ 
25        color:#002D40; 
26         
27
28     
29    .btn-default{ 
30        background-color:#01B4FF; 
31        border-color:#01B4FF; 
32
33     
34</style> 
35 
36 
37 
38<#if entries?has_content>  
39    <#list entries as curEntry> 
40             <#assign fields =curEntry.getAssetRenderer().getDDMFormValuesReader().getDDMFormValues().getDDMFormFieldValues() 
41 
42
43             
44            <#assign allegato = "" /> 
45            <#if fields[1]?? && fields[1]?has_content > 
46                <#assign allegato = fields[1].getValue().getString(locale) /> 
47            </#if> 
48             
49            <#assign url = "" /> 
50            <#if fields[0]?? && fields[0]?has_content > 
51                <#assign url = fields[0].getValue().getString(locale) /> 
52            </#if> 
53  
54            <#if (curEntry.getTitle(locale)?length <= 100) > 
55                <#assign title = curEntry.getTitle(locale) /> 
56            <#else> 
57                <#assign title = curEntry.getTitle(locale)?substring(0, 100) + '...' /> 
58            </#if> 
59            <div class="news-main-container-pubbl">   
60                 
61                    <p class="card-title pubblicazioni-scientifiche-par">  
62                        <#if url?? && url?has_content > 
63                        <a href="${url}" target="_blank" class="pubblicazioni-scientifiche-a" > 
64                            ${curEntry.getTitle(locale)} 
65                        </a> 
66                        <#else> 
67                            <span class="pubblicazioni-scientifiche-a"> 
68                                ${curEntry.getTitle(locale)} 
69                            </span> 
70                        </#if> 
71                    </p> 
72                    <hr class="hr-like" style="margin-left:0;"> 
73               
74                <#if (allegato?length > 0) > 
75                   <#assign t = allegato?eval /> 
76                   <#assign url_doc = "/documents/"+t.groupId+"/0/"+t.title+"/"+t.uuid > 
77                    
78                    
79                    <a href="${url_doc}" target="_blank" > 
80                        <div class="attach-icon" ><i class="fas fa-paperclip fa-attach-icon"></i></div> 
81                    </a> 
82                </#if> 
83            </div> 
84         
85     
86    </#list>  
87</#if>