[midPoint-git] [Evolveum/midpoint] 6b18a6: Fix NPE when deleting assignment with policy rule

mederly noreply at github.com
Tue Jun 8 19:33:05 CEST 2021


  Branch: refs/heads/support-4.2
  Home:   https://github.com/Evolveum/midpoint
  Commit: 6b18a65cbaab0e756b159526bfde74e1058f2578
      https://github.com/Evolveum/midpoint/commit/6b18a65cbaab0e756b159526bfde74e1058f2578
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2021-06-08 (Tue, 08 Jun 2021)

  Changed paths:
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/EvaluatedPolicyRuleImpl.java
    M model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/assignments/TestAssignmentsAdvanced.java
    A model/workflow-impl/src/test/resources/assignments-advanced/role-approve-unassign.xml

  Log Message:
  -----------
  Fix NPE when deleting assignment with policy rule

When computing the set of enabled policy rule actions, the actions
that had conditions present caused NPE if the related assignment
was being deleted. This is now fixed.

Resolves MID-7071.




More information about the midPoint-svn mailing list