Skip to content
Snippets Groups Projects
Commit 6c4f4c0d authored by strentini's avatar strentini
Browse files

OO-191 : check for passed null-value in EPNotificationsHandler (sometimes...

OO-191 : check for passed null-value in EPNotificationsHandler (sometimes notifNewsController passes null ...)
parent 9b9698b3
No related branches found
No related tags found
No related merge requests found
...@@ -62,8 +62,9 @@ public class EPNotificationsHandler implements NotificationsHandler { ...@@ -62,8 +62,9 @@ public class EPNotificationsHandler implements NotificationsHandler {
Publisher p = subscriber.getPublisher(); Publisher p = subscriber.getPublisher();
EPAbstractMap amap = EPNotificationsHelper.findMapOfAnyType(p.getResId()); EPAbstractMap amap = EPNotificationsHelper.findMapOfAnyType(p.getResId());
if (amap != null) { if (amap != null && compareDate != null) {
// only do that if a map was found. // only do that if a map was found.
// OO-191 only do if compareDate is not null.
// init the helper; // init the helper;
String businessPath = "[EPDefaultMap:" + amap.getKey() + "]"; String businessPath = "[EPDefaultMap:" + amap.getKey() + "]";
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment