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