RM-3283 - added comment to explain change

This commit is contained in:
Ana Bozianu
2016-04-14 14:25:29 +03:00
parent ec85454dcd
commit b0b1a19b48

View File

@@ -135,7 +135,8 @@ public class RecordsManagementContainerType extends BaseBehaviourBean
{ {
QName childType = nodeService.getType(child); 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) && if (dictionaryService.isSubClass(childType, ContentModel.TYPE_FOLDER) &&
!nodeService.hasAspect(child, ContentModel.ASPECT_HIDDEN)) !nodeService.hasAspect(child, ContentModel.ASPECT_HIDDEN))
{ {