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

Bill Tuminaro (JIRA) issues at jboss.org
Tue Dec 13 19:21:00 EST 2016


    [ https://issues.jboss.org/browse/DROOLS-1373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13338187#comment-13338187 ] 

Bill Tuminaro commented on DROOLS-1373:
---------------------------------------

Based on some initial testing this situation appears to be resolved in the 6.5.0.Final release.

We will conduct a few more tests before closing this item.

-BillT

> 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