[midPoint-git] [Evolveum/midpoint] 4bd384: Fix NPE with policy constraint on focus deletion

mederly noreply at github.com
Tue Apr 26 16:21:44 CEST 2022


  Branch: refs/heads/master
  Home:   https://github.com/Evolveum/midpoint
  Commit: 4bd3847f6c9e320c96142d629d03b01808eb18b9
      https://github.com/Evolveum/midpoint/commit/4bd3847f6c9e320c96142d629d03b01808eb18b9
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2022-04-26 (Tue, 26 Apr 2022)

  Changed paths:
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/EvaluatedPolicyRuleImpl.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/focus/FocusLifecycleProcessor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/AssignmentPolicyRuleEvaluationContext.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/ObjectPolicyRuleEvaluationContext.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/PolicyRuleEvaluationContext.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/PolicyRuleProcessor.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/lens/projector/policy/evaluators/ConstraintEvaluatorHelper.java
    M model/model-impl/src/main/java/com/evolveum/midpoint/model/impl/util/ModelImplUtils.java
    M model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/helpers/NotificationExpressionHelper.java
    M model/workflow-impl/src/test/java/com/evolveum/midpoint/wf/impl/other/TestMiscellaneous.java
    A model/workflow-impl/src/test/resources/miscellaneous/role-test370.xml
    A model/workflow-impl/src/test/resources/miscellaneous/user-test370.xml

  Log Message:
  -----------
  Fix NPE with policy constraint on focus deletion

When a policy constraint with custom presentation (message)
was evaluated during focus deletion operation, a NPE was thrown.

This commit fixes that, and reviews other similar places where
such exceptions could occur.

This resolves MID-7908.


  Commit: 1b7e651749e762c34cf4dec5630bb15eae7038af
      https://github.com/Evolveum/midpoint/commit/1b7e651749e762c34cf4dec5630bb15eae7038af
  Author: Pavol Mederly <mederly at evolveum.com>
  Date:   2022-04-26 (Tue, 26 Apr 2022)

  Changed paths:
    M gui/admin-gui/src/main/java/com/evolveum/midpoint/gui/impl/component/menu/DetailsNavigationPanel.java
    M tools/jenkins/midpoint-main-pipeline

  Log Message:
  -----------
  Merge remote-tracking branch 'origin/master'


Compare: https://github.com/Evolveum/midpoint/compare/d9398263cd71...1b7e651749e7


More information about the midPoint-svn mailing list