[jboss-jira] [JBoss JIRA] Assigned: (JBRULES-1177) Problem when adding dynamic rules to networks with shared AlphaNodes
Edson Tirelli (JIRA)
jira-events at lists.jboss.org
Mon Sep 10 10:51:11 EDT 2007
[ http://jira.jboss.com/jira/browse/JBRULES-1177?page=all ]
Edson Tirelli reassigned JBRULES-1177:
--------------------------------------
Assignee: Edson Tirelli (was: Mark Proctor)
> Problem when adding dynamic rules to networks with shared AlphaNodes
> --------------------------------------------------------------------
>
> Key: JBRULES-1177
> URL: http://jira.jboss.com/jira/browse/JBRULES-1177
> Project: JBoss Rules
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Edson Tirelli
> Assigned To: Edson Tirelli
>
> The problem is easy to see in the StateExampleWithDynamicRules. After the addition of the dynamic rule, it is activated 4 times instead of a single time as it is supposed to be.
> The problem is in the AlphaNode.updateSink() method, that simply calls (when node memory is off):
> // get the objects from the parent
> this.objectSource.updateSink( sink,
> context,
> workingMemory );
> Passing "sink" as a parameter, what causes the propagation to skip the alpha constraints.
> I was able to isolate that in an unit test. Fixing now.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list