From b0b1a19b48d8ecfeeb4fb28ce7a18bee4b7bad78 Mon Sep 17 00:00:00 2001 From: Ana Bozianu Date: Thu, 14 Apr 2016 14:25:29 +0300 Subject: [PATCH] RM-3283 - added comment to explain change --- .../model/rma/type/RecordsManagementContainerType.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 e690e2fe73..659b509aa9 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 @@ -135,7 +135,8 @@ public class RecordsManagementContainerType extends BaseBehaviourBean { QName childType = nodeService.getType(child); - // We only care about "folder" or sub-types + // We only care about "folder" or sub-types that are not hidden. + // Some modules use hidden files to store information (see RM-3283) if (dictionaryService.isSubClass(childType, ContentModel.TYPE_FOLDER) && !nodeService.hasAspect(child, ContentModel.ASPECT_HIDDEN)) {