[midPoint-git] [Evolveum/midpoint] 66a692: Fix "More than one stage-level event" errors

Pavol Mederly mederly at evolveum.com
Thu Jan 24 12:54:33 CET 2019


  Branch: refs/heads/support-3.9
  Home:   https://github.com/Evolveum/midpoint
  Commit: 66a69298b57e73ca4bc32535b56063d740e3960b
      https://github.com/Evolveum/midpoint/commit/66a69298b57e73ca4bc32535b56063d740e3960b
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2019-01-24 (Thu, 24 Jan 2019)

  Changed paths:
    M infra/schema/src/main/java/com/evolveum/midpoint/schema/util/WfContextUtil.java

  Log Message:
  -----------
  Fix "More than one stage-level event" errors

When two work items are completed in the same moment (in two threads),
and the following stage is to be completed automatically because of
the specified condition, two stage-level completion events are
generated.

This is something that the original design didn't expected. Here we
adapt the code to such situations. Hopefully there will be no other
consequences of such simultaneous executions.



      **NOTE:** GitHub Services has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      We will provide an alternative path for the email notifications by January 31st, 2019.


More information about the midPoint-svn mailing list