Bug 1316860

Summary: Rules are not firing as expected in BusinessRulesTask
Product: [Retired] JBoss BPMS Platform 6 Reporter: Martin Weiler <mweiler>
Component: BREAssignee: Mario Fusco <mfusco>
Status: CLOSED EOL QA Contact: Tibor Zimanyi <tzimanyi>
Severity: high Docs Contact:
Priority: urgent    
Version: 6.2.0CC: kverlaen, lpetrovi
Target Milestone: ER2   
Target Release: 6.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-27 19:02:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1316862, 1316867    

Description Martin Weiler 2016-03-11 10:26:11 UTC
Description of problem:
Platform issue for https://issues.jboss.org/browse/DROOLS-1089

Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Create a process with multiple BusinessRulesTask
2. Create related rules where the LHS constraint evaluates the existence of an object (eg. $p : Person())
3. Objects are passed into the BusinessRulesTask using the Input/Output mapping

Actual results:
Some rules are not fired

Expected results:
All rules are fired

Additional info:

Comment 1 Kris Verlaenen 2016-03-16 15:21:40 UTC
Mario, https://issues.jboss.org/browse/DROOLS-1089 mentions this has been fixed on master, could this be cherry-picked to 6.4.x for 6.3 release?

Setting blocker flag for 6.3 as this has also been requested for 6.2.3

Comment 2 Kris Verlaenen 2016-03-16 15:27:30 UTC
Never mind previous comment, already cherry picked to 6.4.x:
https://github.com/droolsjbpm/drools/commit/05d8440befa7b886ed21e7244937911032f3f564

Comment 3 Tibor Zimanyi 2016-04-01 11:29:47 UTC
Verified by running reproducer from linked BZ [1].

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1316867