CAV SPA
CAV SPA

News

Press Room

    An error occurred while processing the template.
    The following has evaluated to null or missing:
    ==> friendlyURLs[themeDisplay.getLanguageId()]  [in template "37501#37531#140288" at line 16, column 69]
    
    ----
    Tip: It's the final [] step 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: ${(friendlyURLs[themeDisplay.getLangu...  [in template "37501#37531#140288" at line 16, column 66]
    ----
    1<#assign PortalUtil = staticUtil["com.liferay.portal.kernel.util.PortalUtil"] /> 
    2 
    3<li class="card-page-item card-page-item-asset"> 
    4	<div class="card card-type-asset file-card"> 
    5		<#if (Immagine1gp4.getData())?? && Immagine1gp4.getData() != ""> 
    6                                	<img alt="${Immagine1gp4.getAttribute("alt")}" data-fileentryid="${Immagine1gp4.getAttribute("fileEntryId")}" src="${Immagine1gp4.getData()}" style="width:100%"/> 
    7                                    </#if> 
    8		<div class="card-body"> 
    9            		 
    10			<div class="card-row"> 
    11				<div class="autofit-col autofit-col-expand"> 
    12					<section class="autofit-section"> 
    13					     
    14						<h5 class="card-title"> 
    15						     
    16							<a href="${(friendlyURLs[themeDisplay.getLanguageId()]+ '?redirect=') + PortalUtil.getCurrentURL(request)!""}"> 
    17								<#assign STitle = .vars['reserved-article-title'].data /> 
    18								${STitle} 
    19								 
    20								 
    21							</a> 
    22						</h5> 
    23 
    24							<p class="card-subtitle" style="_display:none"> 
    25							<#-- Retrieve the published date meta data field of the web content --> 
    26                            <#assign articleDisplayDate = .vars['reserved-article-display-date'].data /> 
    27                             
    28                            <#-- Save the original page locale for later --> 
    29                            <#assign originalLocale = .locale> 
    30                             
    31                            <#-- Set the page locale to the portals default locale --> 
    32                            <#setting locale = localeUtil.getDefault()> 
    33                             
    34                            <#-- Parse the date to a date object --> 
    35                            <#assign displaydate = articleDisplayDate?datetime("EEE, d MMM yyyy HH:mm:ss Z")> 
    36                             
    37                            <#-- Set the page locale back to the original page locale --> 
    38                            <#assign locale = originalLocale> 
    39                             
    40                            ${displaydate?string["dd MMM yyyy"]} 
    41							</p> 
    42 
    43 
    44						 
    45							<div class="card-description"> 
    46							 
    47							${.vars['reserved-article-description'].data} 
    48							 
    49							 
    50							</div> 
    51						 
    52							 
    53						 
    54						 
    55					</section> 
    56				</div> 
    57			</div> 
    58			 
    59			 
    60			<a class="arrow" href="${(friendlyURLs[themeDisplay.getLanguageId()]+ '?redirect=') + PortalUtil.getCurrentURL(request)!""}"> 
    61						    → 
    62						    </a> 
    63		</div> 
    64	</div> 
    65</li>