Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-501

Propagation context is not set correctly when nodes are shared

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 6.1.0.CR1
    • 6.1.0.Beta4
    • None
    • None

      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

              mfusco@redhat.com Mario Fusco
              dsotty Davide Sottara (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: