History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: OGNL-128
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Jesse Kuhnert
Reporter: Jesse Kuhnert
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OGNL

remainder expression doesn't look for child syntax expressions

Created: 11/Oct/07 11:27 AM   Updated: 13/Oct/07 04:14 PM
Component/s: ExpressionCompiler
Affects Version/s: 2.7.1
Fix Version/s: 2.7.2

Environment: tapestry


 Description  « Hide
"(index % tableSize) == 0"

Results in a numberformat exception:

java.lang.NumberFormatException For input string: "tableSize"

java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
                                       java.lang.Long.parseLong(Long.java:403)
                                       java.lang.Long.parseLong(Long.java:461)
                                       ognl.OgnlOps.longValue(OgnlOps.java:220)
                                       ognl.OgnlOps.remainder(OgnlOps.java:932)
                                       ognl.ASTRemainder.getValueBody(ASTRemainder.java:51)
                                       ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:202)
                                       ognl.SimpleNode.getValue(SimpleNode.java:246)
                                       ognl.ASTEq.getValueBody(ASTEq.java:50)
                                       ognl.SimpleNode.evaluateGetValueBody(SimpleNode.java:202)
                                       ognl.SimpleNode.getValue(SimpleNode.java:246)
                                       ognl.Ognl.getValue(Ognl.java:494)
                                       ognl.Ognl.getValue(Ognl.java:458)
                                       org.apache.tapestry.services.impl.HiveMindExpressionCompiler.compileExpression(HiveMindExpressionCompiler.java:153)

 All   Comments   Change History      Sort Order:
There are no comments yet on this issue.