[
https://jira.jboss.org/jira/browse/JBRULES-1775?page=com.atlassian.jira.p...
]
Edson Tirelli commented on JBRULES-1775:
----------------------------------------
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.
Activation Cancelled Events are not being fired if an Agenda Filter
is used.
----------------------------------------------------------------------------
Key: JBRULES-1775
URL:
https://jira.jboss.org/jira/browse/JBRULES-1775
Project: JBoss Drools
Issue Type: Bug
Security Level: Public(Everyone can see)
Environment: Windows XP SP2, Java jre1.6.0_05, Eclipse 3.3.1.1, Drools 4.0.7
Reporter: Tobias Henss
Assignee: Mark Proctor
If an agenda filter is used "activation cancelled" events will be not fired
and listeners will not be notified.
If the agenda filter is disabled, the "activation cancelled" events are being
propagated to the listeners in the correct way.
An example code reproducing the problem can be found at:
http://www.nabble.com/activationCancelled()-not-being-executed--to1238799...
(test.zip)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira