Details
-
Bug
-
Resolution: Done
-
Major
-
5.1.0.M2
-
None
Description
If a rule contains more than on logical insertion, Drools will only keep the last one, cancelling any previously logically inserted facts. Example:
package com.sample
declare Some
field : int
end
rule "Init"
salience 9999
dialect "mvel"
when
eval( true );
then
with( s0 = new Some() )
insertLogical(s0);
with( s1 = new Some() )
insertLogical(s1);
end
In the above case, drools will only keep s1, but not s0.