An error occurred while processing the template.
The following has evaluated to null or missing:
==> content  [in template "20116#20152#MIGRATION-WEB-CONTENT" at line 54, column 3]

----
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: ${content.getData()}  [in template "20116#20152#MIGRATION-WEB-CONTENT" at line 54, column 1]
----
1<#-- Services --> 
2<#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService")> 
3<#assign journalArticleResourceLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleResourceLocalService")> 
4<#assign assetCategoryLocalService = serviceLocator.findService("com.liferay.asset.kernel.service.AssetCategoryLocalService")> 
5 
6<#-- Attributes --> 
7<#assign displaydate = .vars['reserved-article-display-date'].data /> 
8<#assign modifyDate = .vars['reserved-article-modified-date'].data /> 
9<#assign journalArticleId = .vars['reserved-article-id'].data> 
10<#assign articleResourcePK = journalArticleResourceLocalService.getArticleResourcePrimKey(groupId, journalArticleId)/> 
11<#assign categoryList = assetCategoryLocalService.getCategories("com.liferay.journal.model.JournalArticle", articleResourcePK) > 
12<#assign categoryIds = assetCategoryLocalService.getCategoryIds("com.liferay.journal.model.JournalArticle", articleResourcePK) > 
13<#assign journalArticle = journalArticleLocalService.fetchLatestArticle(articleResourcePK)/> 
14 
15<#-- Set the page locale to the portals default locale --> 
16<#setting locale = localeUtil.getDefault() /> 
17 
18<#-- Dates --> 
19<#assign displaydate = displaydate?datetime("EEE, d MMM yyyy HH:mm:ss Z") /> 
20<#assign modifyDate = modifyDate?datetime("EEE, d MMM yyyy HH:mm:ss Z") /> 
21<#assign dateFormated = displaydate?string["d.M.yyyy"] /> 
22<#assign releaseDateISO = displaydate?string.iso /> 
23<#assign modifiedDateISO = modifyDate?string.iso /> 
24 
25<#-- Has published over year ago --> 
26<#assign yearago = .now?long-(1000 * 60 * 60 * 24 * 365) /> 
27<#if yearago - displaydate?long < 0> 
28    <#assign displaydateoldCSS = "" /> 
29<#else> 
30    <#assign displaydateoldCSS = " old" /> 
31</#if> 
32 
33<div class="meta content-meta-data" data-type="article" data-date="${displaydate}"> 
34    <div class="article-id" data-articleid="${journalArticleId}"></div> 
35    <div class="asset-article-id" data-asset-articleid="${articleResourcePK}"></div> 
36    <div class="asset-categories" data-categoryids="${categoryIds?join(",")}"></div> 
37    <div class="release-date" data-releasedate="${releaseDateISO}"></div> 
38    <div class="modify-date" data-modifydate="${modifiedDateISO}"></div> 
39        <#list categoryList as categoryListItem> 
40        <#-- show CATEGORY NAME and DATE only if article has particular category --> 
41        <#-- use only for migration content template --> 
42        <#-- highlight old date only for News and Press releases --> 
43            <#if categoryListItem.getName() == 'News' || categoryListItem.getName() == 'Uutiset' || categoryListItem.getName() == 'Nyheter' || categoryListItem.getName() == 'Tiedotteet' || categoryListItem.getName() == 'Pressmeddelanden' || categoryListItem.getName() == 'Press releases'> 
44            <span class="category">${categoryListItem.getTitle(locale)}, </span> 
45            <span class="date ${displaydateoldCSS}">${dateFormated}</span> 
46            </#if> 
47            <#if categoryListItem.getName() == 'Puheet' || categoryListItem.getName() == 'Tal' || categoryListItem.getName() == 'Speeches' || categoryListItem.getName() == 'Julkaisut' || categoryListItem.getName() == 'Publikationer' || categoryListItem.getName() == 'Publications' || categoryListItem.getName() == 'Edustustojen raportit' || categoryListItem.getName() == 'Pakotteet' || categoryListItem.getName() == 'Sanktioner'> 
48            <span class="category">${categoryListItem.getTitle(locale)}, </span> 
49            <span class="date">${dateFormated}</span> 
50            </#if> 
51        </#list> 
52</div> 
53 
54${content.getData()} 
55 
56<#if themeDisplay.getColorSchemeId() == "01" > 
57    <#if internalLinksContent?? && internalLinksContent.getData()?has_content> 
58    <div class="breakout-outer"> 
59        <div class="breakout bg-yellow"> 
60            <div class="breakout-inner"> 
61                <#if internalLinksLabel?? && internalLinksLabel.getData()?has_content> 
62                    <h4 class="title"> 
63                        ${internalLinksLabel.getData()} 
64                    </h4> 
65                </#if> 
66                <div class="content">${internalLinksContent.getData()}</div> 
67            </div> 
68        </div> 
69    </div> 
70    </#if> 
71    <#if externalLinksContent?? && externalLinksContent.getData()?has_content> 
72    <div class="breakout-outer"> 
73        <div class="breakout bg-yellow"> 
74            <div class="breakout-inner"> 
75                <#if externalLinksLabel?? && externalLinksLabel.getData()?has_content> 
76                    <h4 class="title"> 
77                        ${externalLinksLabel.getData()} 
78                    </h4> 
79                </#if> 
80                <div class="content">${externalLinksContent.getData()}</div> 
81            </div> 
82        </div> 
83    </div> 
84    </#if> 
85    <#if responsibleUnitContent?? && responsibleUnitContent.getData()?has_content> 
86    <div class="breakout-outer"> 
87        <div class="breakout bg-blue"> 
88            <div class="breakout-inner"> 
89                <#if responsibleUnitLabel?? && responsibleUnitLabel.getData()?has_content> 
90                    <h4 class="title"> 
91                        ${responsibleUnitLabel.getData()} 
92                    </h4> 
93                </#if> 
94                <div class="content">${responsibleUnitContent.getData()}</div> 
95            </div> 
96        </div> 
97    </div> 
98    </#if> 
99</#if> 
100 
101<#-- Display resolved ontology tags, notice: hidden-class --> 
102<div class="asset-ontology-tag-group hidden" asset-articleid="${journalArticle.getId()}"> </div>