Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.7
-
None
-
tapestry
Description
having a condition like:
condition="ognl:condition1 && condition2"
condition2 gets evaluatated, even if condition1 returns false
in version 2.6.9 it worked correctly
the manual says explicitly:
e1 && e2, e1 and e2
getValue is called on e1 and the result is interpreted as a boolean. If false, that result is returned; if true, getValue is called on e2 and its value is returned.