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

Process instances in Spring should be loaded in commands-scoped context

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • jBPM 6.0.0.Beta5
    • jBPM 5.4
    • Runtime Engine
    • None

    Description

      Process instances in Spring are loaded using the application context, not the command context. This can cause OptimisticLockingExceptions if the process instance was modified elsewhere, as this context is not cleared in between invocations.
      Using the command-scoped context will make sure that process instance changes between invocations are picked up at the beginning and don't cause a commit exception at the end.

      Attachments

        Issue Links

          Activity

            People

              kverlaen@redhat.com Kris Verlaenen
              kverlaen@redhat.com Kris Verlaenen
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: