shivani chandna created DROOLS-3611:
---------------------------------------
Summary: PropertyReactive with custom operator going in recursion on modify
Key: DROOLS-3611
URL:
https://issues.jboss.org/browse/DROOLS-3611
Project: Drools
Issue Type: Bug
Components: core engine
Affects Versions: 7.17.0.Final
Reporter: shivani chandna
Assignee: Mario Fusco
We have two rules each modifying separate properties but.
As long as we are using PropertyReactive with builtin operators like contains, matches the
updates are restricted. There is no infinite recursion.
We have created a custom operator that checks the value in the when condition eg: when
DClass( collectionSet matchesInSet "value")
then modify $c( setDataPoint( "s" );
This usage of custom operator is making rule execution go in infinite loop. Enabling
drools trace we see: Fired rule Rule 1 Fired rule Rule 2 Fired rule Rule 1 Fired rule Rule
2..... infinitely.
As PropertyReactive is working properly with collections (Contains works well - there is
no recursion) this looks like some fix is required in rule engine.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)