The following has evaluated to null or missing: ==> formField.getValue().getString(locale) [in template "blaues-gut-portal.web-resources_SERVLET_CONTEXT_/common_macros.ftl" at line 56, column 49] ---- 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: #assign Bildnachweis = formField.getV... [in template "blaues-gut-portal.web-resources_SERVLET_CONTEXT_/common_macros.ftl" in function "getCopyrightText" at line 56, column 25] ----
1<#import "/blaues-gut-portal.web-resources_SERVLET_CONTEXT_/common_macros.ftl" as common>
2
3
4<div class="text-and-image">
5 <div class="container">
6 <#if section??>
7 <#list section.siblings as entry>
8 <div class="row">
9 <div class="col-12">
10 <#if entry.headline?? && entry.headline.data?has_content>
11 <#assign level = "h1" />
12 <#if entry.level?? && entry.level.data?has_content>
13 <#assign level = entry.level />
14 </#if>
15 <#switch level.data>
16 <#case "h1">
17 <h1>${entry.headline.data}</h1>
18 <#break>
19 <#case "h2">
20 <h2>${entry.headline.data}</h2>
21 <#break>
22 <#case "h3">
23 <h3>${entry.headline.data}</h3>
24 <#break>
25 </#switch>
26 </#if>
27 </div>
28 <div class="col-8">
29 <#if (entry.text?? && entry.text.data?has_content)>
30 <p class="teaser-text">
31 ${entry.text.getData()}
32 </p>
33 </#if>
34 </div>
35 <div class="col-4 p-0">
36 <div class="image-with-caption image-large">
37 <#assign Copyright = "" />
38
39 <#if entry.image?? && entry.image.data?has_content && (common.getCopyrightText(entry.image.data)!"") != "">
40 <#assign Copyright = common.getCopyrightTag("",entry.image.data) />
41 </#if>
42
43 <#if entry.image?? && entry.image.getData()?has_content>
44 <img src="${common.getScaledImageURL(entry.image.getData(), "bg-image-medium")}" alt="${common.getAltText(entry.image.data)}" class="image" style="width: auto; max-width:100%" loading="lazy"/>
45 ${Copyright}
46 </#if>
47 </div>
48 </div>
49 </div>
50 </#list>
51 </#if>
52 </div>
53</div>