[jira] [Commented] (WW-4462) Regression bug in ognl for "is..." property getters

2015-04-03 Thread Jasper Rosenberg (JIRA)

[ 
https://issues.apache.org/jira/browse/WW-4462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14394339#comment-14394339
 ] 

Jasper Rosenberg commented on WW-4462:
--

Just tried the 3.0.10 snapshot, and it worked great.  Thanks!

> 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.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>...
> 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)


[jira] [Commented] (WW-4462) Regression bug in ognl for "is..." property getters

2015-04-03 Thread Jasper Rosenberg (JIRA)

[ 
https://issues.apache.org/jira/browse/WW-4462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14394300#comment-14394300
 ] 

Jasper Rosenberg commented on WW-4462:
--

Yeah, it is right there.  For some reason the README.md file that is in the 
ognl-OGNL_3_0_9.zip file only goes through 3.0.8

> 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.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>...
> 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)