You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Jacques Le Roux (JIRA)" <ji...@apache.org> on 2017/05/04 17:51:04 UTC
[jira] [Assigned] (OFBIZ-9345) Error viewing tomahawk-themed page
when externalLoginKey is not enabled
[ https://issues.apache.org/jira/browse/OFBIZ-9345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jacques Le Roux reassigned OFBIZ-9345:
--------------------------------------
Assignee: Jacques Le Roux (was: James Yong)
> Error viewing tomahawk-themed page when externalLoginKey is not enabled
> -----------------------------------------------------------------------
>
> Key: OFBIZ-9345
> URL: https://issues.apache.org/jira/browse/OFBIZ-9345
> Project: OFBiz
> Issue Type: Bug
> Components: themes
> Affects Versions: Upcoming Release
> Reporter: James Yong
> Assignee: Jacques Le Roux
> Priority: Minor
> Labels: tomahawk
> Fix For: Trunk
>
> Attachments: OFBIZ-9345.patch
>
>
> The following error occurs when the theme is set to *tomahawk* and *security.login.externalLoginKey.enabled=false*:
> {code}
> 2017-05-04 22:57:42,818 |http-nio-8443-exec-8 |FreeMarkerWorker |E| null
> freemarker.core.InvalidReferenceException: The following has evaluated to null or missing:
> ==> externalLoginKey [in template "component://tomahawk/template/AppBarClose.ftl" at line 88, column 113]
> ----
> 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: ${externalLoginKey} [in template "component://tomahawk/template/AppBarClose.ftl" at line 88, column 111]
> ----
> at freemarker.core.InvalidReferenceException.getInstance(InvalidReferenceException.java:134) ~[freemarker-2.3.25-incubating.jar:2.3.25]
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)