Agenda

Se ha producido un error al procesar la plantilla.
The following has evaluated to null or missing:
==> calendarData.getImageUuid  [in template "38913#38948#1226211" at line 17, column 75]

----
Tip: It's the step after the last dot 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 imagePath = ADTUtil.getImageP...  [in template "38913#38948#1226211" at line 17, column 33]
----
1<#assign dlTool = utilLocator.findUtil('lportal-ce-hook', 'as.asac.template.tools.DLTool') /> 
2 
3<#if entries?has_content> 
4     
5	<#assign count = 1 /> 
6    <#assign thumbnailBannerUuid = themeDisplay.getLayoutSet().getSettingsProperty("banner")!""/> 
7    <#assign thumbnailBanner=""/> 
8    <#if thumbnailBannerUuid?has_content> 
9        <#assign thumbnailBanner= dlTool.getPathByUuid(thumbnailBannerUuid, groupId)/> 
10    </#if> 
11	<div id="carousel-<@portlet.namespace />" class="carousel carousel-events slide" data-ride="carousel" data-interval="5000"> 
12		<div class="carousel-inner"> 
13			<#list entries as calendarBooking>				 
14				<#assign linkURL = ADTUtil.getDisplayDetailURLString(calendarBooking.getCalendarBookingId(), themeDisplay, renderRequest)! /> 
15				<#assign calendarData = ADTUtil.getCalendarData(calendarBooking)! /> 
16				<#assign eventId = calendarBooking.getCalendarBookingId()! /> 
17				<#assign imagePath = ADTUtil.getImagePath(calendarData.getImageUuid(), 2, calendarBooking.getGroupId(), themeDisplay)!"" /> 
18                <#assign thumbnail = dlTool.getThumbnail("", "2", thumbnailBanner)! /> 
19                <#if !imagePath?has_content> 
20                    <#assign imagePath = thumbnail /> 
21                </#if> 
22				<#assign index = calendarBooking?index /> 
23				<#assign mod = calendarBooking?item_cycle('item0', 'item1') />          
24 
25				<#if mod = 'item0'> 
26					<div class="carousel-item <#if calendarBooking?is_first> active</#if> item"> 
27					<div class="row"> 
28				</#if> 
29				<div class="col-xs-12 col-md-6"> 
30					<div class="card card-clean card-horizontal"> 
31						<span class="d-block image-wrapper image-wrapper-cover float-left" style="background-image: url(${imagePath}); background-size: cover;"> 
32							<img class='image' src="${imagePath}" alt="Imagen ${calendarBooking.getTitle(locale)}" /> 
33						</span> 
34						<div class="card-body"> 
35							<a href="${linkURL}" class="card-title">${calendarBooking.getTitle(locale)}</a> 
36							<span class="card-text"> 
37								<span class="d-block date text-lowercase"> 
38									<span class="icon-calendar"><span class="hide-accessible"><@liferay.language key="time"/></span></span> 
39									${ADTUtil.formatDate(calendarBooking.getStartTime(), "dd·MM·yyyy", themeDisplay)} 
40									<#if validator.isNotNull(calendarBooking.getEndTime())> 
41										<span> <@liferay.language key="to"/> </span> 
42										${ADTUtil.formatDate(calendarBooking.getEndTime(), "dd·MM·yyyy" ,themeDisplay)} 
43									</#if> 
44								</span> 
45								<#if validator.isNotNull(calendarData.getAddressName())> 
46									<span class="d-block address"><i class="fas fa-map-marker-alt"></i> ${calendarData.getAddressName()}</span> 
47								</#if> 
48								<span class="d-block hour"> 
49									<i class="far fa-clock"></i> 
50									<#if calendarBooking.getAllDay()> 
51										${languageUtil.format(locale, 'all-day', calendarBooking.getAllDay())} 
52									<#else> 
53										${ADTUtil.formatDate(calendarBooking.getStartTime(), "HH:mm", themeDisplay)} 
54									</#if> 
55								</span> 
56							</span> 
57						</div> 
58					</div> 
59				</div> 
60				<#if mod = 'item1' || !calendarBooking?has_next> 
61					</div></div> 
62				</#if> 
63			</#list> 
64		</div> 
65		 
66		<!-- Indicators --> 
67		<ol class="carousel-indicators"> 
68			<#assign count = 0 /> 
69			<#list entries as calendarBooking>                 
70				<#assign index = calendarBooking?index /> 
71				<#assign modItems = calendarBooking?item_cycle('item0', 'item1') /> 
72				 
73				<#if modItems = 'item0'> 
74					<li data-target="#carousel-<@portlet.namespace />" data-slide-to="${count}" <#if count==0> class="active"</#if>></li> 
75					<#assign count = count + 1 /> 
76				</#if> 
77			</#list> 
78		</ol> 
79	</div>	 
80 
81</#if>