-
Bug
-
Resolution: Done
-
Major
-
7.47.0.Final
-
None
-
2020 Week 52-03 (from Dec 21)
-
4
-
Undefined
-
NEW
-
NEW
-
---
-
---
If there is a constraint to compare String with Number, standard-drl (MvelConstraint) coerces String to Number so the evaluation will be Number comparison (e.g. 10 > 5). But exec-model coerces Number to String so the evaluation will be String comparison (e.g. "10" < "5").
Note that we need to use Object or Map to test this because simple comparison String vs Number causes a compilation error.
for example)
ObjectHolder($o : value) StringHolder( value > $o )
or
$map : Map() StringHolder( value > $map.get("key") )
- relates to
-
DROOLS-5910 Enable range index for JoinNode
-
- Closed
-