[jboss-jira] [JBoss JIRA] (DROOLS-3554) KieContainer#updateToVersion removing rules with accumulate
Olga Rodionova (Jira)
issues at jboss.org
Fri Jan 25 06:08:00 EST 2019
Olga Rodionova created DROOLS-3554:
--------------------------------------
Summary: KieContainer#updateToVersion removing rules with accumulate
Key: DROOLS-3554
URL: https://issues.jboss.org/browse/DROOLS-3554
Project: Drools
Issue Type: Bug
Components: core engine
Affects Versions: 7.16.0.Final
Reporter: Olga Rodionova
Assignee: Mario Fusco
Attachments: RuleRemovalTest.java, SimpleRuleWithAccumulate.drl
Consider a rule with accumulate pattern in the LHS which logically inserts an object in the RHS. Build the KieModule from the KieFileSystem including this rule, create the KieContainer and the KieSession. Insert the facts. Everything works fine.
Create a new KieModule excluding this rule from the KieFileSystem, update the KieContainer. Expect the logically inserted fact to be retracted, as the rule which trigged its creation is no longer present. Turns out that the fact is still present in the working memory
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
More information about the jboss-jira
mailing list