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

Mario Fusco (JIRA) issues at jboss.org
Mon Oct 19 12:23:00 EDT 2015


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

Mario Fusco closed DROOLS-951.
------------------------------
    Resolution: Done


Fixed by https://github.com/droolsjbpm/drools/commit/bc9dfb8b2

> 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