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

Christoph Lenggenhager commented on WW-4651:
--------------------------------------------

Okay. I created https://github.com/jkuhnert/ognl/issues/28

> Negative number is considered an arithmetic expression
> ------------------------------------------------------
>
>                 Key: WW-4651
>                 URL: https://issues.apache.org/jira/browse/WW-4651
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.3.29
>            Reporter: Christoph Lenggenhager
>             Fix For: 2.3.30, 2.5.2
>
>
> With the arithmetic expression check that has been introduced with 2.3.29, 
> negative numbers are considered to be arithmetic expressions.
> This makes it impossible to use number fields with negative values as 
> KeyProperty in collection type conversion.
> I can understand that one does not want to have arithmetic expressions in 
> parameter names. OTOH, I would not consider a negative number as an 
> arithmetic expression.
> Please let me know if I should rather open this issue in the ognl project.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to