InfoFinland - Hizmet hakkında
Hizmet hakkında
The following has evaluated to null or missing:
==> doc.selectSingleNode("/root/dynamic-element[@field-reference='heading']/dynamic-content[@language-id='fi_FI']") [in template "16843633765032#2862924#2589204" at line 12, column 25]
----
Tip: If the failing expression is known to 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: #assign node = doc.selectSingleNode("... [in template "16843633765032#2862924#2589204" at line 12, column 9]
----
1<#assign localeFi = localeUtil.fromLanguageId("fi_FI") />
2<div>
3
4 <#assign journalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") />
5
6 <#if locale != localeFi>
7 <#assign groupId = (groupId!0) />
8 <#assign articleId = .vars["reserved-article-id"].data/>
9 <#assign ja = journalArticleLocalService.fetchLatestArticle(groupId, articleId, 0) />
10
11 <#assign doc = saxReaderUtil.read(ja.getContent()) />
12 <#assign node = doc.selectSingleNode("/root/dynamic-element[@field-reference='heading']/dynamic-content[@language-id='fi_FI']") />
13
14 <#assign fiTitle = node.getText() />
15 <#if !fiTitle?has_content>
16 <#assign fiTitle = themeDisplay.getLayout().getName(localeFi) />
17 </#if>
18 <span lang="fi" style="font-size: 14px; margin-left:1px;" class="block text-action mb-3 text-gray-darker">${fiTitle}</span>
19 </#if>
20 <#if (heading.getData())?? && heading.getData()?has_content>
21 <h1>${heading.getData()}</h1>
22 <#else>
23 <h1>${themeDisplay.getLayout().getName(locale)}</h1>
24 </#if>
25</div>
InfoFinland is a multilingual website that brings together important information for people who have moved to Finland or are planning to move here. The website also supports authorities in multilingual communication.
InfoFinland helps users understand how things work in Finland. The service provides clear instructions and, when needed, guidance to more detailed information, support and assistance.
On InfoFinland, users can find reliable information in their own language about moving to Finland, work, studies, housing, education, health, family and leisure. The information is updated continuously. More information is available on the InfoFinland page Content production.
The InfoFinland website is responsive and easy to use on different devices, such as smartphones and tablets.
The use of the website is monitored using cookies. Read more on the Privacy page.
Images and illustrations on the InfoFinland website may not be used without permission.
Languages of InfoFinland
The service is available in Finnish, Swedish, English, Russian, Estonian, Ukrainian, French, Spanish, Turkish, Chinese, Persian and Arabic. All language versions contain identical content. More information is available on the InfoFinland page Translations.
In addition, InfoFinland includes links to materials published in other languages.