Created attachment 515840 [details] Java class and DRL file to reproduce this bug Description of problem: When using reactive query (one without ?) the result is the same as with pull query (starting with ?) therefore the result is dependant on the ordering of inserted facts. To reproduce it run the test included. Actual results (with BRMS-5.2.0-ER1): Run#1 - insert place first test1: ?contains1 [] test2: contains1 [] test3: ?contains2 [] test4: contains2 [] Run#2 - insert place last test1: ?contains1 [apple, table, fork, box, sweets] test2: contains1 [apple, table, fork, box, sweets] test3: ?contains2 [apple, table, fork, box, sweets] test4: contains2 [apple, table, fork, box, sweets] Expected results (with Drools-5.3.0-SNAPSHOT): Run#1 - insert place first test1: ?contains1 [] test2: contains1 [apple, table] test3: ?contains2 [] test4: contains2 [apple, table, fork, box] Run#2 - insert place last test1: ?contains1 [apple, table, fork, box, sweets] test2: contains1 [apple, table, fork, box, sweets] test3: ?contains2 [apple, table, fork, box, sweets] test4: contains2 [apple, table, fork, box, sweets]
This was fixed as part of all the BC fixes, see Bug732726.
Sending to QA.
This bug is fixed in BRMS-5.2.0.ER4
This product has been discontinued or is no longer tracked in Red Hat Bugzilla.