[jboss-jira] [JBoss JIRA] (DROOLS-2646) KieContainer#updateToVersion removing rules: logically inserted objects not removed correctly
Olga Rodionova (JIRA)
issues at jboss.org
Fri Jun 22 05:22:00 EDT 2018
Olga Rodionova created DROOLS-2646:
--------------------------------------
Summary: KieContainer#updateToVersion removing rules: logically inserted objects not removed correctly
Key: DROOLS-2646
URL: https://issues.jboss.org/browse/DROOLS-2646
Project: Drools
Issue Type: Bug
Components: core engine
Affects Versions: 7.7.0.Final
Reporter: Olga Rodionova
Assignee: Mario Fusco
Consider two rules which have one of the patterns in common, each of which logically inserts an object in the RHS. Build the KieModule from the KieFileSystem including these rules, create the KieContainer and the KieSession. Insert the facts. Everything works fine.
Create a new KieModule excluding these rules from the KieFileSystem, update the KieContainer. Expect the logically inserted facts to be retracted, as the rules which trigged their creation is no longer present. Turns out that is true for the facts inserted by the first rule, but not for the second one: the facts remain in the working memory.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list