From fe849223df8d11f75c3ca8110300c26ebea0a0d7 Mon Sep 17 00:00:00 2001 From: Tuna Aksoy Date: Tue, 5 Feb 2013 13:01:51 +0000 Subject: [PATCH] RM-581 (A user will receive notification of rejected records) git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@46236 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- .../notification/RecordsManagementNotificationHelper.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rm-server/source/java/org/alfresco/module/org_alfresco_module_rm/notification/RecordsManagementNotificationHelper.java b/rm-server/source/java/org/alfresco/module/org_alfresco_module_rm/notification/RecordsManagementNotificationHelper.java index a27d45fcce..b239d1ab80 100644 --- a/rm-server/source/java/org/alfresco/module/org_alfresco_module_rm/notification/RecordsManagementNotificationHelper.java +++ b/rm-server/source/java/org/alfresco/module/org_alfresco_module_rm/notification/RecordsManagementNotificationHelper.java @@ -330,7 +330,8 @@ public class RecordsManagementNotificationHelper implements RecordsManagementMod args.put("rejectDate", rejectDate); NotificationContext notificationContext = new NotificationContext(); - + notificationContext.setAsyncNotification(true); + notificationContext.setIgnoreNotificationFailure(true); notificationContext.addTo(recordCreator); notificationContext.setSubject(I18NUtil.getMessage(MSG_SUBJECT_RECORD_REJECTED)); notificationContext.setBodyTemplate(getRejectedTemplate());