RM-3283 - added comment to explain change

This commit is contained in:
Ana Bozianu
2016-04-14 14:25:29 +03:00
parent 3fe582f564
commit 59c100af97

View File

@@ -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))
{