You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Christoph Lenggenhager (JIRA)" <ji...@apache.org> on 2016/06/27 11:39:52 UTC

[jira] [Created] (WW-4651) Negative number is considered an arithmetic expression

Christoph Lenggenhager created WW-4651:
------------------------------------------

             Summary: 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


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)