Bug 1103071 - Propagation context is not set correctly when nodes are shared
Summary: Propagation context is not set correctly when nodes are shared
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: BRE
Version: 6.0.1
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: CR1
: 6.0.2
Assignee: Mario Fusco
QA Contact: Marek Winkler
URL:
Whiteboard:
Depends On:
Blocks: 1104767
TreeView+ depends on / blocked
 
Reported: 2014-05-30 07:41 UTC by Mario Fusco
Modified: 2014-08-06 19:54 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-08-06 19:54:10 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker DROOLS-501 0 Critical Resolved Propagation context is not set correctly when nodes are shared 2014-06-18 17:55:08 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.