-
Bug
-
Resolution: Done
-
Major
-
None
-
7.47.0.Final
-
None
-
2020 Week 52-03 (from Dec 21)
-
2
-
Undefined
-
NEW
-
NEW
-
---
-
---
Fix for DROOLS-5916 was not enough. LambdaConstraint.indexingDeclaration needs to be updated when an original Declaration is replaced. If not, betaIndex uses a wrong offset to retrieve a fact from a tuple.
This rule can reproduce the offset problem.
import org.drools.modelcompiler.domain.Person;rule R when $e : Person(name == "Edson") $p : Person(name == "Mark") or ( $mark : Person(name == "Mark") and $p : Person(age == $mark.age) ) $s: String(this == $p.name) then System.out.println("Found: " + $s); end
- relates to
-
DROOLS-5916 Wrong BetaIndex with Or in executable-model
- Closed
-
DROOLS-5910 Enable range index for JoinNode
- Closed