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

Mario Fusco (JIRA) issues at jboss.org
Tue May 23 13:11:00 EDT 2017


     [ https://issues.jboss.org/browse/DROOLS-1373?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mario Fusco resolved DROOLS-1373.
---------------------------------
    Resolution: Out of Date


> 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
>         Attachments: NotRemovingRules.java, drools-1373.PNG
>
>
> 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