[rules-dev] Possible Bug: Nodes of inherited types with drools.getActivation().remove()

Arjun Dhar dhar_ar at yahoo.com
Fri Jun 1 07:23:14 EDT 2007


> This would not happen if I did not use "drools.getActivation().remove(); " 
but 
> I need to or else rules fire over the same object. But if i use it then a 
rule 
> gets deactivated without firing.

... Ok I think it's def a bug. I noticed that if i remove the number of 
repeats: W
hen I use "drools.getActivation().remove()" the number of activations is 
**roughly half** 

Well based on the '~statistics~', I'd say that an "getActivation().remove()" is 
removing 'two' activations instead of one.

Looking fwd to hear you theory and solution. Statistics are a wonderful thing, 
you can misiterpret them as you like.. lol. :o) Ok, please let me know what you 
find!

thanks,
Arjun







More information about the rules-dev mailing list