Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id F33E5200C70 for ; Thu, 4 May 2017 17:51:09 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id F1F03160BB0; Thu, 4 May 2017 15:51:09 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 450F9160B9F for ; Thu, 4 May 2017 17:51:09 +0200 (CEST) Received: (qmail 83996 invoked by uid 500); 4 May 2017 15:51:08 -0000 Mailing-List: contact notifications-help@ofbiz.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ofbiz.apache.org Delivered-To: mailing list notifications@ofbiz.apache.org Received: (qmail 83987 invoked by uid 99); 4 May 2017 15:51:08 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 04 May 2017 15:51:08 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 056201A7B69 for ; Thu, 4 May 2017 15:51:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id a-0SHRlC2vf7 for ; Thu, 4 May 2017 15:51:06 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 8F42C5FAE8 for ; Thu, 4 May 2017 15:51:05 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id C42FAE0C0D for ; Thu, 4 May 2017 15:51:04 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 32F9E21DF1 for ; Thu, 4 May 2017 15:51:04 +0000 (UTC) Date: Thu, 4 May 2017 15:51:04 +0000 (UTC) From: "James Yong (JIRA)" To: notifications@ofbiz.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (OFBIZ-9345) Error viewing tomahawk-themed page when externalLoginKey is not enabled MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Thu, 04 May 2017 15:51:10 -0000 [ https://issues.apache.org/jira/browse/OFBIZ-9345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] James Yong updated OFBIZ-9345: ------------------------------ Attachment: OFBIZ-9345.patch > 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: James Yong > 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. (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)