Details
-
Bug
-
Resolution: Won't Do
-
Blocker
-
5.2.0.M2
-
None
Description
The DRL code below results in TWO firings of rule exornot. (5.1.1: Only one firing)
declare Fact
x : int
y : int
end
rule ins
when
then
insert( new Fact( 1, 10 ) );
insert( new Fact( 2, 20 ) );
end
rule exornot
when
exists Fact( x == 1 )
or
not Fact( x == 2, y == 20 )
then
System.out.println( "SUCCESS" );
end
NOTE: If field 'y' is removed from 'Fact' and the rule patterns, the rule fires still twice in 5.3.0, but also twice in 5.1.1.