[jboss-jira] [JBoss JIRA] (DROOLS-951) Removing 2 or more rules does not retract justified objects

Zvonimir Bošnjak (JIRA) issues at jboss.org
Thu Oct 15 03:59:01 EDT 2015


Zvonimir Bošnjak created DROOLS-951:
---------------------------------------

             Summary: Removing 2 or more rules does not retract justified objects
                 Key: DROOLS-951
                 URL: https://issues.jboss.org/browse/DROOLS-951
             Project: Drools
          Issue Type: Bug
          Components: core engine
    Affects Versions: 6.3.0.Final
            Reporter: Zvonimir Bošnjak
            Assignee: Mario Fusco
             Fix For: 6.4.x


When removing rules from knowledge which have logically inserted (justified) objects, only one object (from first removed rule) will be retracted. 
In example from AddRemoveRule#184: as it removes the first rule, it re-initializes all other path memories and, in particular, marks them as unlinked (AbstractTerminalNode#204)
Later, when it tries to flush the deletions (AddRemoveRule#280), the unlinked status prevents the propagation from taking place.


 



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)



More information about the jboss-jira mailing list