Ocorreu um erro ao processar o template.
The following has evaluated to null or missing: ==> biography.getBiographyPart2() [in template "20101#20127#2204022" at line 71, column 15] ---- 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: ${biography.getBiographyPart2()} [in template "20101#20127#2204022" at line 71, column 13] ----
1<style type="text/css">
2
3 .title-text {
4 padding: 0;
5 margin: 0;
6 display: block;
7 position: relative;
8 width: 100%;
9 height: auto;
10 font-weight: 700;
11 color: #222E5E;
12 font-size: 1.9rem;
13 }
14
15 .title-underline {
16 padding: 0;
17 margin: 0;
18 display: block;
19 position: relative;
20 height: 4px;
21 border-top: 4px solid #222E5E;
22 margin-bottom: 15px;
23 width: 75px;
24 }
25
26 .first-column {
27 padding-right: 15px;
28 }
29
30 .second-column {
31 padding-left: 15px;
32 }
33
34 .quote-span {
35 display: block;
36 position: relative;
37 width: 100%;
38 color: #2D89C5;
39 font-style: italic;
40 font-size: 2rem;
41 margin-bottom: 20px;
42 }
43
44</style>
45
46<#assign biography = customTemplateUtil.getBiography(.vars['reserved-article-id'].getData(),.vars['reserved-article-version'].getData(),themeDisplay.getScopeGroupId(),themeDisplay.getPortalURL(),themeDisplay.getLanguageId())/>
47
48<div class="gov-portlet-entityWelcomeNote">
49
50 <span class="title-text">
51 <#if themeDisplay.getLanguageId() == "pt_PT">
52 Nota Biográfica
53 <#else>
54 Biographical Note
55 </#if>
56 </span>
57 <div class="title-underline"> </div>
58
59 <div class="row">
60 <div class="col-lg-6 col-12 first-column">
61 <#if biography.getIsPresident() && biography.getQuote()?has_content>
62 <div class="quote-span">"${biography.getQuote()}"</div>
63 </#if>
64 ${biography.getBiographyPart1()}
65 </div>
66
67 <div class="col-lg-6 col-12 second-column">
68 <#if !biography.getIsPresident() && biography.getQuote()?has_content>
69 <div class="quote-span">"${biography.getQuote()}"</div>
70 </#if>
71 ${biography.getBiographyPart2()}
72 </div>
73 </div>
74</div>