Personkortsportlet

Fel uppstod under bearbetning av mallen.
The following has evaluated to null or missing:
==> person  [in template "12509#12559#2584515" 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 "12509#12559#2584515" 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 
8        <div class="organization-info"> 
9        <#if person.hasDifferentDepartmentAndUnit()> 
10            <div class="info-row clearfix"> 
11                <div class="info-label"><@liferay.language key="stuk.person-card-label-department"/></div> 
12                <div class="info-value"> 
13                    <#assign stukDepartment = person.getTranslatedDepartment() /> 
14                    ${stukDepartment?has_content?string(stukDepartment,'-')} 
15                </div> 
16            </div> 
17        </#if> 
18            <div class="info-row clearfix"> 
19                <div class="info-label"><@liferay.language key="stuk.person-card-label-unit"/></div> 
20                <div class="info-value"> 
21                    <#assign stukUnit = person.getTranslatedUnit() /> 
22                    ${stukUnit?has_content?string(stukUnit,'-')} 
23                </div> 
24            </div> 
25            <#-- Hiding these for now. 
26                <div class="info-row clearfix"> 
27                    <div class="info-label"><@liferay.language key="stuk.person-card-label-location"/></div> 
28                    <div class="info-value"> 
29                        <#if person.getLocation()?has_content> 
30                            ${person.getLocation()} 
31                        <#else> 
32
33                        </#if> 
34                    </div> 
35                </div> 
36            </div> 
37            --> 
38            <div class="contact-info"> 
39                <div class="info-row clearfix"> 
40                    <div class="info-label"><@liferay.language key="stuk.person-card-label-phone"/></div> 
41                    <div class="info-value"> 
42                    <#if person.getPhone()?has_content> 
43                        ${person.getPhone()} 
44                    <#else> 
45
46                    </#if> 
47                    </div> 
48                </div> 
49                <div class="info-row clearfix"> 
50                    <div class="info-label"><@liferay.language key="stuk.person-card-label-email"/></div> 
51                    <div class="info-value"> 
52                    <#if obfuscatedEmail?has_content> 
53                        ${obfuscatedEmail} 
54                    <#else> 
55
56                    </#if> 
57                    </div> 
58                </div> 
59            </div> 
60            <div class="expertise"> 
61                <div class="info-row clearfix"> 
62                    <div class="info-label"><@liferay.language key="stuk.person-card-label-expertise"/></div> 
63                    <div class="info-value"> 
64                    <#if localizedExpertiseList?has_content> 
65                        ${localizedExpertiseList} 
66                    <#else> 
67
68                    </#if> 
69                    </div> 
70                </div> 
71            </div> 
72        <#if assignmentDescription?has_content> 
73            <div class="additional-info"> 
74                <div class="info-row clearfix"> 
75                    <div class="info-label"><@liferay.language key="stuk.person-card-label-additionalinfo"/></div> 
76                    <div class="info-value"> 
77                        ${assignmentDescription} 
78                    </div> 
79                </div> 
80            </div> 
81        <#elseif person.getAdditionalInfo()?has_content> 
82            <div class="additional-info"> 
83                <div class="info-row clearfix"> 
84                    <div class="info-label"><@liferay.language key="stuk.person-card-label-additionalinfo"/></div> 
85                    <div class="info-value"> 
86                        ${person.getAdditionalInfo()} 
87                    </div> 
88                </div> 
89            </div> 
90        </#if> 
91        </div> 
92    </div>