PEC-RedirectorLuzOsorno

Se ha producido un error al procesar la plantilla.
The following has evaluated to null or missing:
==> redirectionEnabled  [in template "20097#20123#1056248" at line 1, column 6]

----
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: #if redirectionEnabled.getData() = "si"  [in template "20097#20123#1056248" at line 1, column 1]
----
1<#if redirectionEnabled.getData() = "si"> 
2    <#assign 
3        JournalArticleLocalService = serviceLocator.findService("com.liferay.journal.service.JournalArticleLocalService") 
4        articles = JournalArticleLocalService.getStructureArticles(groupId,ddmStructureKey.getData()) 
5        continueLoop = true 
6        redirecToPage = true 
7    /> 
8 
9    <#list articles as article> 
10        <#if continueLoop> 
11            <#if article.getVersion() == JournalArticleLocalService.getLatestVersion(article.getGroupId(), article.getArticleId())> 
12                <#assign 
13                    articleContent = saxReaderUtil.read(article.getContent()) 
14                    root = articleContent.getRootElement() 
15                    visibleField = root.valueOf("//dynamic-element[@name='visible']/dynamic-content/text()") 
16
17                 
18                <#if getterUtil.getBoolean(visibleField)> 
19                    <#assign continueLoop = false 
20                        redirecToPage = false 
21
22                </#if> 
23            </#if> 
24        </#if> 
25    </#list> 
26 
27    <#if getterUtil.getBoolean(redirecToPage)> 
28        <#assign response = portalUtil.getHttpServletResponse(renderResponse) /> 
29        ${response.sendRedirect(pageToRedirect.getFriendlyUrl())} 
30    </#if> 
31</#if> 

Distribuidora WP - Footer