Italian Medicines Agency Agenzia Italiana del Farmaco

Quality assurance

Quality assurance

An error occurred while processing the template.
The following has evaluated to null or missing:
==> splitter[5]  [in template "20115#20151#770221" at line 28, column 109]

----
Tip: It's the final [] step that caused this error, not those before it.
----
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: #assign file = dlFileEntryService.get...  [in template "20115#20151#770221" at line 28, column 45]
----
1<div class=" u-text-r-xs"> 
2    ${content.getData()} 
3</div> 
4<#if allegati.titoloAllegato.getSiblings()?has_content> 
5    <div class="underline_title istituzionale">  
6       <h2 class="portlet-content portlet-title-text-model portlet-title-text"> 
7           <@liferay_ui['message'] key='label.templates.documenti.correlati' /> 
8       </h2>  
9        <div class="u-text-r-xxl u-padding-r-bottom">  
10            <div class="u-layout-wide">  
11                <div class="u-layout-centerContent u-padding-r-bottom">  
12                    <section class="u-layout-wide">  
13                        <div class="Grid Grid--withGutter">  
14                            <#list allegati.titoloAllegato.getSiblings() as cur_allegato> 
15                             
16                                <div class="Grid-cell u-md-size1of1 u-lg-size1of1 u-padding-r-left u-padding-r-bottom" 
17                                <#if cur_allegato?index % 2 == 0> style="background-color: #ddd !important"</#if>> 
18                                    <div class="u-color-grey-30 u-border-top-xxs u-padding-right-xxl u-padding-r-top"> 
19                                        <i class="far fa-file-pdf icon-download-file u-color-blu"></i>  
20                                        <p class="link-download u-color-50 u-textWeight-700 u-text-r-xs u-padding-r-top">  
21                                         
22 
23 
24                                            <#assign dlFileEntryService = serviceLocator.findService('com.liferay.document.library.kernel.service.DLFileEntryService') /> 
25 
26                                            <#assign splitter = cur_allegato.allegato.getData()?split("/") />  
27                             
28                                            <#assign file = dlFileEntryService.getFileEntryByUuidAndGroupId(splitter[5]?split("?")[0], splitter[2]?number) /> 
29                                            ${file.getExtension()?upper_case}   
30                                            <a class="u-color-black" href="${cur_allegato.allegato.getData()}" target="_blank"> 
31                                                ${cur_allegato.getData()} [${(file.getSize()/(1024*1024))?string["0.##"]} Mb] &gt;  
32                                            </a>  
33                                        </p>  
34                                    </div>  
35                                </div>  
36                            </#list> 
37                        </div>  
38                    </section>  
39                </div>  
40            </div>  
41        </div>  
42    </div> 
43</#if> 

Cookie Bar

cookie management module

Descrizione cookieBar

Questo sito utilizza cookie tecnici e analytics, necessari al suo funzionamento, per i quali non è richiesto il consenso. Per alcuni servizi aggiuntivi, le terze parti fornitrici, dettagliatamente sotto individuate, possono utilizzare cookies tecnici, analytics e di profilazione. Per saperne di più consulta la PRIVACY POLICY. Per proseguire nella navigazione devi effettuare la scelta sui cookie di terze parti dei quali eventualmente accetti l’utilizzo. Chiudendo il banner attraverso la X in alto a destra rifiuti tutti i cookie di terze parti. Puoi rivedere e modificare le tue scelte in qualsiasi momento attraverso il link "Gestione cookie" presente nel footer.

Social networks
go to beginning of content