From dbb0f1e12bb5a4bf4d37858b558e15956efbb6b2 Mon Sep 17 00:00:00 2001 From: Pavol Mederly Date: Fri, 3 Oct 2014 11:19:22 +0200 Subject: [PATCH] Small fix. --- .../impl/notifiers/SimpleFocalObjectNotifier.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/notifiers/SimpleFocalObjectNotifier.java b/model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/notifiers/SimpleFocalObjectNotifier.java index 9b2d3dd59de..930c0dde272 100644 --- a/model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/notifiers/SimpleFocalObjectNotifier.java +++ b/model/notifications-impl/src/main/java/com/evolveum/midpoint/notifications/impl/notifiers/SimpleFocalObjectNotifier.java @@ -131,6 +131,10 @@ protected String getBody(Event event, GeneralNotifierType generalNotifierType, S fullName = ""; // TODO (currently it's not possible to get here) } + if (fullName == null) { + fullName = ""; // "null" is not nice in notifications + } + ObjectDelta delta = ObjectDelta.summarize(((ModelEvent) event).getFocusDeltas()); StringBuilder body = new StringBuilder();