From 71e32be34ab6b49d8892f414d5c779cabfaaec84 Mon Sep 17 00:00:00 2001 From: Roy Wetherall Date: Tue, 3 Jul 2012 04:56:50 +0000 Subject: [PATCH] RM-414: IMAP: Error to display File Plan if an email is uploaded directly to the File Plan via IMAP git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@38669 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- .../org_alfresco_module_rm/RecordsManagementServiceImpl.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rm-server/source/java/org/alfresco/module/org_alfresco_module_rm/RecordsManagementServiceImpl.java b/rm-server/source/java/org/alfresco/module/org_alfresco_module_rm/RecordsManagementServiceImpl.java index 655d1beccd..a7ac339093 100644 --- a/rm-server/source/java/org/alfresco/module/org_alfresco_module_rm/RecordsManagementServiceImpl.java +++ b/rm-server/source/java/org/alfresco/module/org_alfresco_module_rm/RecordsManagementServiceImpl.java @@ -184,6 +184,11 @@ public class RecordsManagementServiceImpl implements RecordsManagementService, ContentModel.ASSOC_CONTAINS, new JavaBehaviour(this, "onFileContent", NotificationFrequency.TRANSACTION_COMMIT)); + this.policyComponent.bindAssociationBehaviour( + QName.createQName(NamespaceService.ALFRESCO_URI, "onCreateChildAssociation"), + TYPE_FILE_PLAN, + ContentModel.ASSOC_CONTAINS, + new JavaBehaviour(this, "onAddContentToContainer", NotificationFrequency.EVERY_EVENT)); this.policyComponent.bindAssociationBehaviour( QName.createQName(NamespaceService.ALFRESCO_URI, "onCreateChildAssociation"), TYPE_RECORD_CATEGORY,