Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-1373

Rules are not removed from the KieModule/KieContainer

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Obsolete
    • Icon: Major Major
    • None
    • 6.3.0.Final
    • core engine
    • None
    • NEW
    • NEW

      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.

              mfusco@redhat.com Mario Fusco
              billt408_jira Bill Tuminaro (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: