Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 973180 - Delete of fact doesn't work when more queries with accumulate are defined
Delete of fact doesn't work when more queries with accumulate are defined
Product: JBoss BRMS Platform 6
Classification: JBoss
Component: BRE (Show other bugs)
Unspecified Unspecified
unspecified Severity unspecified
: ER2
: 6.0.0
Assigned To: Mario Fusco
Tomas David
Depends On:
  Show dependency treegraph
Reported: 2013-06-11 08:32 EDT by Tomas David
Modified: 2014-08-06 16:17 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2014-08-06 16:17:24 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Tomas David 2013-06-11 08:32:16 EDT
Description of problem:
When more queries are defined with accumulate in drl file and some fact is deleted before start of one query. Query returns all fact including the deleted fact.

Version-Release number of selected component (if applicable):
Drools 6.0.0.Beta3

How reproducible:
Pull request #212 submited in Drools.

Steps to Reproduce:
1. Write a simple test with one KieSession. Insert into kiesession two fact.
2. Make a drl file with two queries. Both queries contain accumulate. Queries should return names of facts.
3. Delete one fact from kiesession. Run query.

Actual results:
Two names are returned.

Expected results:
Only one name should be returned.

Additional info:
Comment 1 Mario Fusco 2013-07-26 04:41:39 EDT
I merged the PR. The provided test now succeeds, so I am assuming this issue has been already fixed.
Comment 2 Tomas David 2013-08-28 03:58:12 EDT
Verified on BRMS 6.0.0.ER2.

Note You need to log in before you can comment on or make changes to this bug.