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:
I merged the PR. The provided test now succeeds, so I am assuming this issue has been already fixed.
Verified on BRMS 6.0.0.ER2.