-
Bug
-
Resolution: Done
-
Major
-
7.51.0.Final
-
None
-
2021 Week 46-48 (from Nov 15), 2021 Week 49-51 (from Dec 6th)
-
1
-
Undefined
-
NEW
-
NEW
UnlinkingTest.multipleJoinsUsingSameOTN()
14:36:38.678 [main] ERROR o.d.c.k.b.impl.AbstractKieProject.buildKnowledgePackages:276 - Unable to build KieBaseModel:KieBaseModelName InvalidExpressionErrorResult: Comparison operation requires compatible types. Found int and interface org.drools.core.util.MethodUtils$NullType 14:36:38.682 [main] ERROR o.d.testcoverage.common.util.KieUtil.getKieBuilderFromKieFileSystem:157 - KieBuilder errors: [Message [id=1, kieBase=KieBaseModelName, level=ERROR, path=test_LRUnlinking.drl, line=-1, column=0 text=Comparison operation requires compatible types. Found int and interface org.drools.core.util.MethodUtils$NullType]]
This is caused by
Person(age != null)
where age is a primitive int. However, non-exec-model (mvel) accepts null for comparing. Shall we allow null for mvel compatibility? No, fix the test.
- is related to
-
DROOLS-5729 Reorganize drools unit tests
- Coding In Progress
- relates to
-
DROOLS-6740 Comparison between primitive and null
- Open