From e897d6aaf7fc548c07dabe8355a36df2fb045fb1 Mon Sep 17 00:00:00 2001 From: Ana Bozianu Date: Mon, 15 May 2017 23:07:07 +0300 Subject: [PATCH] RM-5012 - fix record folder children --- .../model/rma/type/RecordsManagementContainerType.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/rm-community/rm-community-repo/source/java/org/alfresco/module/org_alfresco_module_rm/model/rma/type/RecordsManagementContainerType.java b/rm-community/rm-community-repo/source/java/org/alfresco/module/org_alfresco_module_rm/model/rma/type/RecordsManagementContainerType.java index 2b7dd82a2d..b400dff8cc 100644 --- a/rm-community/rm-community-repo/source/java/org/alfresco/module/org_alfresco_module_rm/model/rma/type/RecordsManagementContainerType.java +++ b/rm-community/rm-community-repo/source/java/org/alfresco/module/org_alfresco_module_rm/model/rma/type/RecordsManagementContainerType.java @@ -185,15 +185,7 @@ public class RecordsManagementContainerType extends BaseBehaviourBean recordService.makeRecord(child); } } - - if(isContentSubType && parentType.equals(RecordsManagementModel.TYPE_RECORD_FOLDER)&& !recordService.isFiled(child)) - { - recordService.file(child); - } } - - // recalculate disposition schedule for the child - dispositionService.recalculateNextDispositionStep(child); } return null;