Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Cannot Reproduce
-
2.7
-
None
-
Tapestry 4.1.2 snapshot from 5-7, OGNL 2.7 snapshot from 5-5, WinXP, Firefox 2
Description
The following expression evaluates properly in OGNL 2.6 and outputs "1":
<span jwcid="@Insert" value="ognl:true ? 1 : 1/0" />
In OGNL 2.7 it evaluates the 1/0 and you get the error page with a divide by zero error. The unused expression should not be evaluated because it may not be valid (in more useful ways than this contrived example).