]
Edson Tirelli resolved JBRULES-1177.
------------------------------------
Fix Version/s: 4.0.2
Resolution: Done
Problem fixed.
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
Fix For: 4.0.2
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: