Bug 1103071

Summary: Propagation context is not set correctly when nodes are shared
Product: [Retired] JBoss BRMS Platform 6 Reporter: Mario Fusco <mfusco>
Component: BREAssignee: Mario Fusco <mfusco>
Status: CLOSED CURRENTRELEASE QA Contact: Marek Winkler <mwinkler>
Severity: high Docs Contact:
Priority: high    
Version: 6.0.1CC: etirelli, mbaluch, rrajasek
Target Milestone: CR1   
Target Release: 6.0.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 19:54:10 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: 1104767    

Description Mario Fusco 2014-05-30 07:41:27 UTC
The following rules

package org.drools.compiler.loop

rule "Rule 1"
  ruleflow-group "Start"
  no-loop
  when
  	$thing1 : String()
	$thing2 : Integer()
  then
    System.out.println( 'At 1' );
	update( $thing2 );
end

rule "Rule 2"
  ruleflow-group "End"
  no-loop
  when
  	$thing1 : String()
  	$thing2 : Integer()
  then
    System.out.println( 'At 2' );
  	update( $thing2 );
end

cause an endless loop even if controlled by a jBPM process with two rule tasks

Comment 3 JBoss JIRA Server 2014-06-03 07:12:01 UTC
Mario Fusco <mario.fusco> updated the status of jira DROOLS-501 to Resolved

Comment 4 Mario Fusco 2014-06-04 16:47:33 UTC
Cherry-picked to 6.0.x branch with https://github.com/droolsjbpm/drools/commit/869c51c9d

Comment 5 Marek Winkler 2014-06-18 17:55:02 UTC
Verified on BRMS 6.0.2 CR1.