You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Thim Anneessens (JIRA)" <ji...@apache.org> on 2013/05/17 10:43:15 UTC
[jira] [Created] (OGNL-235) Problem with expressions mixing
arithmetic and string concatenation
Thim Anneessens created OGNL-235:
------------------------------------
Summary: Problem with expressions mixing arithmetic and string concatenation
Key: OGNL-235
URL: https://issues.apache.org/jira/browse/OGNL-235
Project: Commons OGNL
Issue Type: Bug
Affects Versions: 3.0
Reporter: Thim Anneessens
The following behavior is strange:
OGNL Expression: "Your number is "+(3+1)
Resulting output: Your number is 31
Expected output: Your number is 4
OGNL Expression: (3+1)+" is my number"
Resulting output: 4 is your number
This pretty much sums the problem ;).
Thanks in advance for looking into this.
Thim.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira