You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by sk...@apache.org on 2019/03/26 13:41:26 UTC
[syncope] branch master updated: [SYNCOPE-1452] Fix notification
'about' elements not deleted after update
This is an automated email from the ASF dual-hosted git repository.
skylark17 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/syncope.git
The following commit(s) were added to refs/heads/master by this push:
new 202337a [SYNCOPE-1452] Fix notification 'about' elements not deleted after update
202337a is described below
commit 202337abbaf23aaed17f4f06aff2c618a11117d7
Author: skylark17 <ma...@tirasa.net>
AuthorDate: Tue Mar 26 14:14:19 2019 +0100
[SYNCOPE-1452] Fix notification 'about' elements not deleted after update
---
.../syncope/client/console/notifications/NotificationWrapper.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/client/idrepo/console/src/main/java/org/apache/syncope/client/console/notifications/NotificationWrapper.java b/client/idrepo/console/src/main/java/org/apache/syncope/client/console/notifications/NotificationWrapper.java
index cc3e74e..1375323 100644
--- a/client/idrepo/console/src/main/java/org/apache/syncope/client/console/notifications/NotificationWrapper.java
+++ b/client/idrepo/console/src/main/java/org/apache/syncope/client/console/notifications/NotificationWrapper.java
@@ -77,7 +77,7 @@ public class NotificationWrapper implements Serializable {
}
public Map<String, String> getAboutFIQLs() {
- if (CollectionUtils.isEmpty(this.aboutClauses)) {
+ if (CollectionUtils.isEmpty(this.aboutClauses) || this.aboutClauses.get(0).getValue().isEmpty()) {
return this.notificationTO.getAbouts();
} else {
Map<String, String> res = new HashMap<>();