[
https://issues.jboss.org/browse/DROOLS-598?page=com.atlassian.jira.plugin...
]
John Le commented on DROOLS-598:
--------------------------------
Please look at my "AccumulateWithPassAndFail.java" reproducer, you see there are
two drl strings, drlPass and drlFail. The rules are structured a little different between
the two drl strings but they are both supposed behave the same. Please note that in the
drlFail all the conditions are inside the accumulate block and rule does not fire (this
same rules would work in drools 5.5 /5.6). In the drlPass, the TestA,TestB,TestC
conditions are outside of the accumulate block but chain together by parent child ids and
rule does fire (in drools 5.5 this does fire as well).
accumuate function not working when object chaining is used as
accumulate condition
-----------------------------------------------------------------------------------
Key: DROOLS-598
URL:
https://issues.jboss.org/browse/DROOLS-598
Project: Drools
Issue Type: Bug
Affects Versions: 6.2.0.Beta2, 6.2.0.CR1, 6.2.0.Final
Reporter: John Le
Assignee: Mark Proctor
Attachments: AccumulateWithPassAndFail.java, SumOfAllIssue.java
Please see attached code file to reproduce issue. Rule is supposed to fire and yield 0.0
as the sum but rule does not. If we remove TestA, TestB, TestC and leave only TestD as
condition then rule fire.
--
This message was sent by Atlassian JIRA
(v6.3.1#6329)