Details
-
Bug
-
Resolution: Duplicate
-
Major
-
7.73.0.Final
-
None
-
None
-
2023 Week 03-05 (from Jan 16), 2023 Week 06-08 (from Feb 6), 2023 Week 09-11 (from Feb 27)
-
-
NEW
-
NEW
-
---
-
---
Description
When I compare two Long fields in a drl rule, the comparison is not null-safe anymore. The documentation for == (equals()) and != (!equals()) states, it should be null safe (https://docs.drools.org/7.73.0.Final/drools-docs/html_single/index.html#_patterns_and_constraints).
Using Drools 7.62.0 the comparison works as expected. (I have not tested all versions in between.)
The change in behavior may be related to the upgrade of MVEL to 2.4.14
Attachments
Issue Links
- duplicates
-
DROOLS-7327 NullPointerException in mvel MathProcessor with equality check when null property is on right side
- Resolved