Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-4651

Negative number is considered an arithmetic expression

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3.29
    • 2.3.30, 2.5.2
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            lukaszlenart Lukasz Lenart
            clenggenhager Christoph Lenggenhager
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: