Frontalansicht eines modernen Wohngebäudes mit Garten und Schaukel.

Hinweis

An error occurred while processing the template.
Java method "jdk.proxy87.$Proxy1090.getLatestArticle(long)" threw an exception when invoked on jdk.proxy87.$Proxy1090 object "at.wienit.portal.model_listener.service.ExpirationDateJournalArticleServiceWrapper@1ae9245f"; see cause exception in the Java stack trace.

----
FTL stack trace ("~" means nesting-related):
	- Failed at: #assign article = JournalArticleServi...  [in template "387155#387192#FULLSCREENCONTENTTEMPLATE" at line 39, column 25]
----
1<#include "${templatesPath}/MACROS" /> 
2<#assign messageWrongWebcontents = "Falsche Webcontents, wähle eines der folgenden Assets aus: 'Video/Bild + Text volle Breite', 'Text Icon Block', 'Countdown'" /> 
3<#assign JournalArticleService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") /> 
4 
5<#if background.getData() == "inverted"> 
6    <#assign styleModifier="l-fullwidth-section--inverted" /> 
7<#elseif background.getData() == "highlighted"> 
8    <#assign styleModifier="l-fullwidth-section--highlighted" /> 
9<#elseif background.getData() == "ku-gradient"> 
10    <#assign styleModifier="l-fullwidth-section--ku-gradient" /> 
11<#elseif background.getData() == "ku-farbe"> 
12    <#assign styleModifier="l-fullwidth-section--primary" /> 
13<#elseif background.getData() == "media"> 
14    <#if image.getData()?? && image.getData() != ""> 
15        <#assign styleModifier="l-fullwidth-section--media" /> 
16    </#if> 
17<#else> 
18    <#assign styleModifier="" /> 
19</#if> 
20 
21<#if getterUtil.getBoolean(darkMode.getData())> 
22    <#assign darkMode="l-fullwidth-section--dark" /> 
23<#else> 
24    <#assign darkMode="" /> 
25</#if> 
26 
27<div class="l-wrapper l-fullwidth-section ${styleModifier} ${darkMode}"> 
28    <#if background.getData() == "media" && image.getData()?? && image.getData() != ""> 
29        <div class="l-fullwidth-section__media"> 
30            <@img image=image formatType="full-screen-width" className="l-fullwidth-section-image" loading="lazy" /> 
31        </div> 
32    </#if> 
33    <div class="l-container"> 
34        <div class="l-row"> 
35            <div class="l-col"> 
36                <#if webcontent.getSiblings()?has_content> 
37                    <#list webcontent.getSiblings() as cur_webcontent> 
38                        <#assign webContentData = jsonFactoryUtil.createJSONObject(cur_webcontent.getData()) /> 
39                        <#assign article = JournalArticleService.getLatestArticle(webContentData.getLong("classPK")) /> 
40                        <#assign templateKey = getTemplateByStructure(article.getDDMStructureKey()) /> 
41 
42                        <#if templateKey?has_content> 
43                            <@invertLinks condition=(darkMode != "")> 
44                                <@liferay_journal["journal-article"] 
45                                    articleId=article.getArticleId() 
46                                    ddmTemplateKey=templateKey 
47                                    groupId=article.getGroupId() 
48                                    /> 
49                            </@invertLinks> 
50                        <#elseif themeDisplay.isSignedIn()> 
51							<div class="alert alert-warning"> 
52						    	${messageWrongWebcontents} 
53							</div> 
54						</#if> 
55                    </#list> 
56                </#if> 
57            </div> 
58        </div> 
59    </div> 
60</div> 
61 
62<#function getTemplateByStructure structureKey> 
63	<#local structureKey = structureKey?upper_case> 
64	<#local templateKey = ""> 
65	<#if structureKey == "VIDEOBILDTEXTSTRUCTURE"> 
66		<#local templateKey = "VIDEOBILDTEXTTEMPLATE"> 
67    <#elseif structureKey == "TEXTICONBLOCKSTRUCTURE"> 
68		<#local templateKey = "TEXTICONBLOCKTEMPLATE"> 
69    <#elseif structureKey == "COUNTDOWNSTRUCTURE"> 
70        <#local templateKey = "COUNTDOWNTEMPLATE"> 
71	</#if> 
72	<#return templateKey> 
73</#function>