Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-408

Process with subprocess marked for compensation fails to deploy on BPMS 6.1.0.ER4

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • 6.1.0
    • 6.1.0
    • jBPM Core
    • None

      Description of problem:

      A process with a subprocess marked for compensation (isForCompensation=true) fails to deploy on BPMS 6.1.0.ER4. It deploys ok on BPMS 6.3.0.GA.

      Version-Release number of selected component (if applicable): BPMS 6.1.0.ER4

      How reproducible: Always reproducible

      Steps to Reproduce:
      1. deploy the attached kjar on BPMS 6.1.0.ER4 (GAV: org.jboss.btison.bpms.testbed.compensation:process-kjar:0.0.1)

      Actual results:

      Deployment fails.
      Error in the log:
      Error: Process 'User Task Compensation' [UserTaskCompensation]: Embedded subprocess 'Sub Process 1' [8] does not have outgoing connection.

      Expected results:
      Deployment succeeds.
      This is a regression compared to BPMS 6.3.0.GA. The kjar deploys successfully on BPMS 6.3.0.GA

      Additional info:

      Root cause: class org.jbpm.ruleflow.core.validation.RuleflowProcessValidator, method validateNodes (line 463):
      the code checks if the CompositeNode has outgoing connections, and throws an error if none are found.
      If the CompositeNode has metadata 'isForCompensation', the absence of outgoing conmnections should not throw an exception.

              swiderski.maciej Maciej Swiderski (Inactive)
              btison Bernard Tison (Inactive)
              Marek Baluch Marek Baluch
              Marek Baluch Marek Baluch
              Kris Verlaenen, Marek Baluch, William Siqueira
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: