[midPoint-git] [Evolveum/midpoint] 4b7cd7: NPE fix for general notifier

KaterynaHonchar noreply at github.com
Wed Apr 15 15:46:02 CEST 2026


  Branch: refs/heads/support-4.10
  Home:   https://github.com/Evolveum/midpoint
  Commit: 4b7cd75abee45a791eba1f4d5401af1217365ec8
      https://github.com/Evolveum/midpoint/commit/4b7cd75abee45a791eba1f4d5401af1217365ec8
  Author: honchar <honchar at evolveum.com>
  Date:   2026-04-15 (Wed, 15 Apr 2026)

  Changed paths:
    M model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/notifiers/AbstractGeneralNotifier.java

  Log Message:
  -----------
  NPE fix for general notifier

Related to #11038


  Commit: 8da0b6af202eb87691ec574b17d47067260ca8ea
      https://github.com/Evolveum/midpoint/commit/8da0b6af202eb87691ec574b17d47067260ca8ea
  Author: honchar <honchar at evolveum.com>
  Date:   2026-04-15 (Wed, 15 Apr 2026)

  Changed paths:
    M model/notifications-impl/src/test/java/com/evolveum/midpoint/notifications/impl/NotificationsTest.java
    A model/notifications-impl/src/test/resources/objects/message-template.xml

  Log Message:
  -----------
  Test for notification with multiple recipients

Related to #11038


  Commit: ee6f33ef84a65358cf902badbb587aa5eb341c30
      https://github.com/Evolveum/midpoint/commit/ee6f33ef84a65358cf902badbb587aa5eb341c30
  Author: honchar <honchar at evolveum.com>
  Date:   2026-04-15 (Wed, 15 Apr 2026)

  Changed paths:
    M model/notifications-impl/src/test/java/com/evolveum/midpoint/notifications/impl/NotificationsTest.java

  Log Message:
  -----------
  Update the test for #11038


  Commit: 97135c393733844786f68fd89035f35cb0eea47c
      https://github.com/Evolveum/midpoint/commit/97135c393733844786f68fd89035f35cb0eea47c
  Author: honchar <honchar at evolveum.com>
  Date:   2026-04-15 (Wed, 15 Apr 2026)

  Changed paths:
    M model/notifications-impl/src/test/java/com/evolveum/midpoint/notifications/impl/NotificationsTest.java

  Log Message:
  -----------
  One more update for the test for #11038


  Commit: 3cc2d408f0151fed5b1276230f8117be1728b56d
      https://github.com/Evolveum/midpoint/commit/3cc2d408f0151fed5b1276230f8117be1728b56d
  Author: honchar <honchar at evolveum.com>
  Date:   2026-04-15 (Wed, 15 Apr 2026)

  Changed paths:
    M model/notifications-impl/src/test/java/com/evolveum/midpoint/notifications/impl/NotificationsTest.java

  Log Message:
  -----------
  Fix the test for #11038


  Commit: 3d397706b781dacbc5a45e575ab5ffc4e3241af6
      https://github.com/Evolveum/midpoint/commit/3d397706b781dacbc5a45e575ab5ffc4e3241af6
  Author: honchar <honchar at evolveum.com>
  Date:   2026-04-15 (Wed, 15 Apr 2026)

  Changed paths:
    M model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/helpers/NotificationExpressionHelper.java

  Log Message:
  -----------
  Fix recipient converter while sending notification

The reference value for the recipient object should be defined
with (at least) oid so that PrismReferenceValueImpl.equals method could
differentiate objects for different recipients while constructing a list
of recipients.

Relates to #11038


  Commit: 104a39e13a45dcdb1276cf0da4c1a0c7c480b8e6
      https://github.com/Evolveum/midpoint/commit/104a39e13a45dcdb1276cf0da4c1a0c7c480b8e6
  Author: honchar <honchar at evolveum.com>
  Date:   2026-04-15 (Wed, 15 Apr 2026)

  Changed paths:
    M model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/helpers/NotificationExpressionHelper.java
    M model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/notifiers/AbstractGeneralNotifier.java

  Log Message:
  -----------
  Fix reference value object usage in notifications

Previously, originOjbect was set while creating a reference value.
This lead to incorrect reference values comparison (as originObject is
not taken into account in equals() method). Setting and using reference
 value object field fixes this problem.

Related to #11038


Compare: https://github.com/Evolveum/midpoint/compare/58c8b65c3738...104a39e13a45

To unsubscribe from these emails, change your notification settings at https://github.com/Evolveum/midpoint/settings/notifications


More information about the midPoint-svn mailing list