Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-2487

Bug in GroupActivity.execute(ExecutionImpl execution)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Minor
    • jBPM 4.2
    • jBPM 4.0
    • Runtime Engine
    • None

    Description

      just browsing through the codebase and trying to understand the magic,
      I came across this in line 56 of GroupActivity.java:

      ExecutionImpl concurrentRoot = null;

      if (Execution.STATE_ACTIVE_ROOT.equals(execution.getState()))

      { concurrentRoot = execution; }

      else if (Execution.STATE_ACTIVE_ROOT.equals(execution.getState()))

      { concurrentRoot = execution.getParent(); }

      else

      { throw new JbpmException("illegal state"); }

      I assume getState() doesn't have any side effects, so I guess this is a bug

      Attachments

        Activity

          People

            tom.baeyens Tom Baeyens (Inactive)
            mwohlf_jira Michael Wohlfart (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 4 hours
                4h
                Remaining:
                Remaining Estimate - 4 hours
                4h
                Logged:
                Time Spent - Not Specified
                Not Specified