struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jasper Rosenberg (JIRA)" <>
Subject [jira] [Commented] (WW-4462) Regression bug in ognl for "is..." property getters
Date Thu, 02 Apr 2015 13:29:15 GMT


Jasper Rosenberg commented on WW-4462:

Is there anyway this could get fixed for 2.3.23?  I really want to upgrade to the latest ognl
(we encountered one of the fixed threading issues in production again last week), but this
is a blocker for me.  Thanks for considering it.

> Regression bug in ognl for "is..." property getters
> ---------------------------------------------------
>                 Key: WW-4462
>                 URL:
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Actions
>    Affects Versions: 2.3.20
>            Reporter: Jasper Rosenberg
>            Priority: Critical
>              Labels: ognl
>             Fix For: 2.5
> 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>...</#if>
> However, this support was broken in a recent ognl release, I believe by this patch: 
> 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

View raw message