Une erreur s'est produite lors du traitement du gabarit.
Java method "com.ch5finland.genelec.cms.service.impl.CMSContentFormatterServiceImpl.getMarkdown(String)" threw an exception when invoked on com.ch5finland.genelec.cms.service.impl.CMSContentFormatterServiceImpl object "com.ch5finland.genelec.cms.service.impl.CMSContentFormatterServiceImpl@61e9ea58"; see cause exception in the Java stack trace.
----
FTL stack trace ("~" means nesting-related):
- Failed at: #assign summary = cmsContentFormatter... [in template "301847" at line 43, column 9]
- Reached through: #include "${templatesPath}/301847" [in template "20116#20152#1891864" at line 8, column 1]
----
1<#--
2
3 Same as Title and Summary with main image background but we want area be lower
4
5-->
6
7
8<#include "${templatesPath}/301847" />
9<#assign instanceId = themeDisplay.getPortletDisplay().getId()>
10<#assign portletId>p_p_id_${instanceId}_</#assign>
11<style>
12 #${portletId} .background {
13 min-height: calc(70vh - 80px);
14 }
15</style>
As a vibrant celebration of audiovisual storytelling, Genelec Kinos is here to shine a spotlight on individuals and moments in time that have had a deep and unique impact on Genelec’s history and the wider field of sound. By collecting these short films together, it is our hope that the benefit of the valuable perspectives within them will be felt by many.
Une erreur s'est produite lors du traitement du gabarit.
The following has evaluated to null or missing:
==> cmsEntity.getLocalizedField(profile, "/entity/fields/title") [in template "20116#20152#1433276" at line 34, column 52]
----
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 entityTitle = cmsEntity.getLo... [in template "20116#20152#1433276" at line 34, column 29]
----
1<#include "${templatesPath}/300307" />
2
3<#assign instanceId = themeDisplay.getPortletDisplay().getInstanceId() >
4
5<#if entities?has_content>
6 <#if bgColor?has_content>
7 <#if bgColor?matches("default", "i")>
8 <#assign cssClasses="bg-gray-light">
9 <#else>
10 <#assign cssClasses="${bgColor}">
11 </#if>
12 <#else>
13 <#assign cssClasses="">
14 </#if>
15<@sectionHeader title="${title}" menuTitle="${menuTitle}" cssClasses="${cssClasses}" id="section-${instanceId}"/>
16
17<#assign columnsCss = "flex-columns-${entities?size}">
18
19 <div class="flex-container ${columnsCss}">
20
21 <#list entities as cmsEntity>
22 <#if cmsEntity?has_content>
23
24 <#assign popupId = instanceId + "-" + cmsEntity.getEntityId() >
25
26 <#assign entityTitle = "">
27 <#assign summary = "">
28
29 <#if cmsEntity.getField(profile, "/entity/fields/summary")?has_content>
30 <#assign summary = cmsContentFormatterService.getMarkdown(cmsEntity.getLocalizedField(profile, "/entity/fields/summary"))>
31 </#if>
32
33 <#if cmsEntity.getField("/entity/fields/title")?has_content>
34 <#assign entityTitle = cmsEntity.getLocalizedField(profile, "/entity/fields/title")>
35 <#else>
36 <#assign entityTitle = cmsEntity.getField(profile, "/entity/fields/name")>
37 </#if>
38
39 <#assign entity = cmsEntity.getField(profile, "/entity") >
40
41 <#assign autoWidth = 1250/entities?size>
42
43
44 <div class="card rounded card-img flex-item">
45
46
47 <#if cmsEntity.getLocalizedField(profile, "/entity/assets/listingImage")?has_content>
48 <#assign listingImage = cmsEntity.getLocalizedField(profile, "/entity/assets/listingImage") >
49 <#assign listingImageRel = cmsEntity.getLocalizedField(profile, "/entity/relationships/listingImage/locales")!"" >
50 <#assign alt="" >
51 <#if listingImageRel?has_content && !listingImageRel.properties.isNull("altText")>
52 <#assign alt = localizeField(listingImageRel.properties.altText, profile.getCMSLangCode()) >
53 </#if>
54
55 <div class="aspect-ratio aspect-ratio-1-to-1">
56 <@imageThumbnail src="${listingImage.url}" thumbnail="columnViewImg" id="" cssClasses="aspect-ratio-item-fluid aspect-ratio-item-center-middle" autoWidth=autoWidth?ceiling alt=alt/>
57 </div>
58 </#if>
59 <div class="card-padding text-dark">
60
61 <h3>${entityTitle}</h3>
62 <#if cmsEntity.getField(profile, "/entity/fields/summary")?has_content>
63 ${summary}
64 </#if>
65
66
67 </div>
68
69 <div class="same-level-btn card-padding">
70 <div class="btn-container">
71 <a class="btn btn-dark btn-medium btn-margin-top text-bolder" href="#" onclick="openLinkablePopup('${popupId}');return false;">
72 <@liferay.language key="read-more"/>
73 <@linkIcon cssClasses="icon tiny-icon" alt="" icon="arrow-white"/>
74 </a>
75 </div>
76 </div>
77 </div>
78 </#if>
79 <div id="theme-popup${popupId}" class="popup">
80 <div class="close-button-container">
81 <button class="close" onClick="closeLinkablePopup('${popupId}')"></button>
82 </div>
83
84 <div class="panel popup-content">
85 <div class="panel-body">
86 <h2 class="h1">${entityTitle}</h2>
87 ${summary}
88
89 <#if cmsEntity.getLocalizedField(profile, "/entity/fields/content")?has_content>
90 ${cmsContentFormatterService.getMarkdown(cmsEntity.getLocalizedField(profile, "/entity/fields/content"), 930)}
91 </#if>
92 </div>
93 </div>
94 </div>
95 </#list>
96
97 </div>
98<@sectionFooter/>
99</#if>
100<style>
101 .popup-content { color: #000; }
102</style>
103<script>
104if ($(window).outerWidth() < 992) {
105 $('.disableInMobile').contents().unwrap();
106 }
107
108
109</script>
Une erreur s'est produite lors du traitement du gabarit.
The following has evaluated to null or missing:
==> cmsEntity.getLocalizedField(profile, "/entity/fields/title") [in template "20116#20152#1433276" at line 34, column 52]
----
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 entityTitle = cmsEntity.getLo... [in template "20116#20152#1433276" at line 34, column 29]
----
1<#include "${templatesPath}/300307" />
2
3<#assign instanceId = themeDisplay.getPortletDisplay().getInstanceId() >
4
5<#if entities?has_content>
6 <#if bgColor?has_content>
7 <#if bgColor?matches("default", "i")>
8 <#assign cssClasses="bg-gray-light">
9 <#else>
10 <#assign cssClasses="${bgColor}">
11 </#if>
12 <#else>
13 <#assign cssClasses="">
14 </#if>
15<@sectionHeader title="${title}" menuTitle="${menuTitle}" cssClasses="${cssClasses}" id="section-${instanceId}"/>
16
17<#assign columnsCss = "flex-columns-${entities?size}">
18
19 <div class="flex-container ${columnsCss}">
20
21 <#list entities as cmsEntity>
22 <#if cmsEntity?has_content>
23
24 <#assign popupId = instanceId + "-" + cmsEntity.getEntityId() >
25
26 <#assign entityTitle = "">
27 <#assign summary = "">
28
29 <#if cmsEntity.getField(profile, "/entity/fields/summary")?has_content>
30 <#assign summary = cmsContentFormatterService.getMarkdown(cmsEntity.getLocalizedField(profile, "/entity/fields/summary"))>
31 </#if>
32
33 <#if cmsEntity.getField("/entity/fields/title")?has_content>
34 <#assign entityTitle = cmsEntity.getLocalizedField(profile, "/entity/fields/title")>
35 <#else>
36 <#assign entityTitle = cmsEntity.getField(profile, "/entity/fields/name")>
37 </#if>
38
39 <#assign entity = cmsEntity.getField(profile, "/entity") >
40
41 <#assign autoWidth = 1250/entities?size>
42
43
44 <div class="card rounded card-img flex-item">
45
46
47 <#if cmsEntity.getLocalizedField(profile, "/entity/assets/listingImage")?has_content>
48 <#assign listingImage = cmsEntity.getLocalizedField(profile, "/entity/assets/listingImage") >
49 <#assign listingImageRel = cmsEntity.getLocalizedField(profile, "/entity/relationships/listingImage/locales")!"" >
50 <#assign alt="" >
51 <#if listingImageRel?has_content && !listingImageRel.properties.isNull("altText")>
52 <#assign alt = localizeField(listingImageRel.properties.altText, profile.getCMSLangCode()) >
53 </#if>
54
55 <div class="aspect-ratio aspect-ratio-1-to-1">
56 <@imageThumbnail src="${listingImage.url}" thumbnail="columnViewImg" id="" cssClasses="aspect-ratio-item-fluid aspect-ratio-item-center-middle" autoWidth=autoWidth?ceiling alt=alt/>
57 </div>
58 </#if>
59 <div class="card-padding text-dark">
60
61 <h3>${entityTitle}</h3>
62 <#if cmsEntity.getField(profile, "/entity/fields/summary")?has_content>
63 ${summary}
64 </#if>
65
66
67 </div>
68
69 <div class="same-level-btn card-padding">
70 <div class="btn-container">
71 <a class="btn btn-dark btn-medium btn-margin-top text-bolder" href="#" onclick="openLinkablePopup('${popupId}');return false;">
72 <@liferay.language key="read-more"/>
73 <@linkIcon cssClasses="icon tiny-icon" alt="" icon="arrow-white"/>
74 </a>
75 </div>
76 </div>
77 </div>
78 </#if>
79 <div id="theme-popup${popupId}" class="popup">
80 <div class="close-button-container">
81 <button class="close" onClick="closeLinkablePopup('${popupId}')"></button>
82 </div>
83
84 <div class="panel popup-content">
85 <div class="panel-body">
86 <h2 class="h1">${entityTitle}</h2>
87 ${summary}
88
89 <#if cmsEntity.getLocalizedField(profile, "/entity/fields/content")?has_content>
90 ${cmsContentFormatterService.getMarkdown(cmsEntity.getLocalizedField(profile, "/entity/fields/content"), 930)}
91 </#if>
92 </div>
93 </div>
94 </div>
95 </#list>
96
97 </div>
98<@sectionFooter/>
99</#if>
100<style>
101 .popup-content { color: #000; }
102</style>
103<script>
104if ($(window).outerWidth() < 992) {
105 $('.disableInMobile').contents().unwrap();
106 }
107
108
109</script>