Details
-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
Description
A drl like the following with DataSample being annotated as @PropertyReactive ends up in an infinite loop even if it shouldn't.
rule 'Init'
when
$m: Model()
then
insert(new DataSample($m));
end
rule "Rule 1"
when
$m: Model()
$d: DataSample(model == $m)
then
modify($d)
end
rule "Rule 2"
when
$m: Model()
$d: DataSample(model == $m, $v: values[Parameter.PARAM_A] > 9.0)
then
modify($d)
end
rule "Data without messages"
salience -100
when
$m: Model()
$d: DataSample(model == $m, messaged == false)
then
end