Henkilökortti

Henkilökorttiportletti

Virhe tapahtui prosessoidessa esitysmallia.
The following has evaluated to null or missing:
==> person  [in template "160102#160152#2584538" at line 2, column 31]

----
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: ${person.getFullName()}  [in template "160102#160152#2584538" at line 2, column 29]
----
1<div class="name-title-container"> 
2    <h1 class="person-name">${person.getFullName()}</h1> 
3    <#assign title = translations.getTranslation(locale, person.getTitle()) /> 
4    <#assign len = title?length /> 
5    <#assign title = title[0]?upper_case + title[1..len-1] /> 
6    <span class="title">${title}</span> 
7</div> 
8<div class="person-info"> 
9    <div class="info"> 
10        <div class="organization-info"> 
11            <#if person.getOrganization()?has_content && translations.getTranslation(locale, person.getOrganization())?has_content> 
12                <div class="info-row"> 
13                    <span class="info-label"><@liferay.language key="fimea-person-card-label-organization"/></span> 
14                    <span class="info-value">${translations.getTranslation(locale, person.getOrganization())}</span> 
15                </div> 
16            </#if> 
17            <#if person.getUnit()?has_content> 
18                <div class="info-row"> 
19                    <span class="info-label"><@liferay.language key="fimea-person-card-label-unit"/></span> 
20                    <span class="info-value">${person.getUnit()}</span> 
21                </div> 
22            </#if> 
23            <#if person.getDepartment()?has_content> 
24                <div class="info-row"> 
25                    <span class="info-label"><@liferay.language key="fimea-person-card-label-department"/></span> 
26                    <span class="info-value">${person.getDepartment()}</span> 
27                </div> 
28            </#if> 
29            <#if person.getLocation()?has_content> 
30                <div class="info-row"> 
31                    <span class="info-label"><@liferay.language key="fimea-person-card-label-location"/></span> 
32                    <span class="info-value">${person.getLocation()}</span> 
33                </div> 
34            </#if> 
35        </div> 
36        <div class="contact-info"> 
37            <#if person.getPhone()?has_content> 
38                <div class="info-row"> 
39                    <span class="info-label"><@liferay.language key="fimea-person-card-label-phone"/></span> 
40                    <span class="info-value">${person.getPhone()}</span> 
41                </div> 
42            </#if> 
43            <#if obfuscatedEmail?has_content> 
44                <div class="info-row"> 
45                    <span class="info-label"><@liferay.language key="fimea-person-card-label-email"/></span> 
46                    <span class="info-value">${obfuscatedEmail}</span> 
47                </div> 
48            </#if> 
49            <#if person.getFax()?has_content> 
50                <div class="info-row"> 
51                    <span class="info-label"><@liferay.language key="fimea-person-card-label-fax"/></span> 
52                    <span class="info-value">${person.getFax()}</span> 
53                </div> 
54            </#if> 
55        </div> 
56        <div class="expertise"> 
57            <#if localizedExpertiseList?has_content> 
58                <div class="info-row"> 
59                    <span class="info-label"><@liferay.language key="fimea-person-card-label-expertise"/></span> 
60                    <span class="info-value">${localizedExpertiseList}</span> 
61                </div> 
62            </#if> 
63        </div> 
64        <#if person.getAdditionalInfo()?has_content> 
65            <div class="additional-info"> 
66                <div class="info-row clearfix"> 
67                    <div class="info-label"><@liferay.language key="fimea-person-card-label-additionalinfo"/></div> 
68                    <div class="info-value">${person.getAdditionalInfo()}</div> 
69                </div> 
70            </div> 
71        </#if> 
72    </div> 
73</div>