[jboss-jira] [JBoss JIRA] (DROOLS-1373) Rules are not removed from the KieModule/KieContainer

Bill Tuminaro (JIRA) issues at jboss.org
Mon Nov 28 19:14:00 EST 2016


Bill Tuminaro created DROOLS-1373:
-------------------------------------

             Summary: Rules are not removed from the KieModule/KieContainer
                 Key: DROOLS-1373
                 URL: https://issues.jboss.org/browse/DROOLS-1373
             Project: Drools
          Issue Type: Bug
          Components: core engine
    Affects Versions: 6.3.0.Final
            Reporter: Bill Tuminaro
            Assignee: Mario Fusco


I have attached a reproducer named NotRemovingRules.java that creates a KieContainer with a KieModule that contains a single rule (rule name 1081) and then runs a loop that adds 2 rules and removes 2 rules and calls KieContainer.updateToVersion(). Along the way it creates .dmp files.
If you examine the last .dmp file created names ckpoint3.drl you will see that rules named like
org.drools.compiler.integraionTests.Rule_120#0DefaultConsequenceInvoker are still present.  However, if you examine the console or System.out you will notice the code is executing that is removing the rules from the KieModule/KieContainer. 



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)


More information about the jboss-jira mailing list