struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christoph Lenggenhager (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (WW-4651) Negative number is considered an arithmetic expression
Date Tue, 28 Jun 2016 08:21:57 GMT

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

Mime
View raw message