Return-Path: X-Original-To: apmail-struts-issues-archive@minotaur.apache.org Delivered-To: apmail-struts-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 2EC59178D6 for ; Tue, 17 Feb 2015 06:55:12 +0000 (UTC) Received: (qmail 60723 invoked by uid 500); 17 Feb 2015 06:55:11 -0000 Delivered-To: apmail-struts-issues-archive@struts.apache.org Received: (qmail 60670 invoked by uid 500); 17 Feb 2015 06:55:11 -0000 Mailing-List: contact issues-help@struts.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@struts.apache.org Delivered-To: mailing list issues@struts.apache.org Received: (qmail 60659 invoked by uid 99); 17 Feb 2015 06:55:11 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 17 Feb 2015 06:55:11 +0000 Date: Tue, 17 Feb 2015 06:55:11 +0000 (UTC) From: "Lukasz Lenart (JIRA)" To: issues@struts.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (WW-4462) Regression bug in ognl for "is..." property getters MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/WW-4462?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Lukasz Lenart updated WW-4462: ------------------------------ Fix Version/s: (was: 2.5) 2.3.22 > Regression bug in ognl for "is..." property getters > --------------------------------------------------- > > Key: WW-4462 > URL: https://issues.apache.org/jira/browse/WW-4462 > Project: Struts 2 > Issue Type: Bug > Components: Core Actions > Affects Versions: 2.3.20 > Reporter: Jasper Rosenberg > Priority: Critical > Labels: ognl > Fix For: 2.3.22 > > > We have a lot of getters on our actions that look like: > public boolean getIsTruck() { > return isTruck; > } > That lets us write ftl that looks like: > <#if isTruck>... > However, this support was broken in a recent ognl release, I believe by this patch: > https://github.com/jkuhnert/ognl/commit/6fb948c8a4528546e6e24750f09a89b6a730e17a > I don't see any reason why this pattern shouldn't be supported, so I'm assuming it is a bug. > This is also keeping us from being able to upgrade to the latest ognl which has some critical fixes we were really hoping to take advantage of. > Thanks! -- This message was sent by Atlassian JIRA (v6.3.4#6332)