The compiler accepts constraints such as Person( fullName contains 'Jr' ) // should be fullName.contains('Jr') Interestingly, MVEL evaluates it as the string operation "contains", but once the constraint is jitted it is again evaluated as a collection operator. That is, a rule such as: when $s : String( this contains "foo" ) then with inputs "foo1" .. "fooN" effectively fires an unpredictable number of times before starting to fail silently
Fixed by https://github.com/droolsjbpm/drools/commit/31cfa285f
Mario Fusco <mario.fusco> updated the status of jira DROOLS-388 to Resolved
Verified that the fix is present in BRMS 6.0.1 ER1 and the corresponding test passes.