From b27239abf5cc263dff6c496272247e6497f28214 Mon Sep 17 00:00:00 2001 From: Sara Aspery Date: Tue, 21 May 2019 12:48:32 +0100 Subject: [PATCH] RM-6792 review - change unfiled folder to container --- .../org_alfresco_module_rm/record/RecordServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rm-community/rm-community-repo/source/java/org/alfresco/module/org_alfresco_module_rm/record/RecordServiceImpl.java b/rm-community/rm-community-repo/source/java/org/alfresco/module/org_alfresco_module_rm/record/RecordServiceImpl.java index 868cfbee95..3662dfb9e9 100644 --- a/rm-community/rm-community-repo/source/java/org/alfresco/module/org_alfresco_module_rm/record/RecordServiceImpl.java +++ b/rm-community/rm-community-repo/source/java/org/alfresco/module/org_alfresco_module_rm/record/RecordServiceImpl.java @@ -905,14 +905,14 @@ public class RecordServiceImpl extends BaseBehaviourBean // if optional location not specified, use the unfiledContainer if (newRecordContainer == null) { - // get the new record container for the file plan + // get the unfiled record container node for the file plan newRecordContainer = filePlanService.getUnfiledContainer(checkedFilePlan); if (newRecordContainer == null) { throw new AlfrescoRuntimeException("Unable to create record, because record container could not be found."); } } - // if optional location supplied, check that it is a valid record folder + // if optional location supplied, check that it is a valid record folder, unfiled record container or folder else { final QName nodeType = nodeService.getType(newRecordContainer);