<div dir="ltr"><br> Fermion,<br><br> Thanks for finding and reporting that. Just FYI, from my comment in the ticket:<br><br>"<br>As it is now, a call to fireAllRules() will always remove all the
activations from the agenda, but will simply skip over the rules that
do not match the filter. Since I don't think the semantics for the
agenda filters were ever spec'd, we need to do it in order to decide if
the "fix" for this is to fire an "activation cancelled/skipped" for the
rules filtered out or if the "fix" is to not remove filtered out
activations from the agenda.
<br>"<br><br> []s<br> Edson<br><br><div class="gmail_quote">2008/9/21 Fermion <span dir="ltr"><<a href="mailto:henss@physik.uni-wuppertal.de">henss@physik.uni-wuppertal.de</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
After Edson helped me sort some things out, it came clear, that the actual<br>
problem is the use of agenda filters in my test.<br>
<br>
If one uses them, the "activation cancelled" events will not reach the<br>
listeners (I don't know whether the activations are cancelled or not).<br>
<br>
Disabling the agenda filters, the activation cancelled events will be<br>
propagated to the listeners.<br>
<br>
According to Edsons suggestion I filed a JIRA bug report that can be found<br>
at JBRULES-1775.<br>
<br>
I will try to avoid the problem by using agenda groups instead.<br>
<br>
After finding out, what caused the problem, it was possible to reduce the<br>
test code by quite a bit:<br>
<br>
<a href="http://www.nabble.com/file/p19598702/smaller_test.zip" target="_blank">http://www.nabble.com/file/p19598702/smaller_test.zip</a> smaller_test.zip<br>
<font color="#888888">--<br>
View this message in context: <a href="http://www.nabble.com/activationCancelled%28%29-not-being-executed--tp12387991p19598702.html" target="_blank">http://www.nabble.com/activationCancelled%28%29-not-being-executed--tp12387991p19598702.html</a><br>
</font><div><div></div><div class="Wj3C7c">Sent from the drools - user mailing list archive at Nabble.com.<br>
<br>
_______________________________________________<br>
rules-users mailing list<br>
<a href="mailto:rules-users@lists.jboss.org">rules-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/rules-users" target="_blank">https://lists.jboss.org/mailman/listinfo/rules-users</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br> Edson Tirelli<br> JBoss Drools Core Development<br> JBoss, a division of Red Hat @ <a href="http://www.jboss.com">www.jboss.com</a><br>
</div>