mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM-3283 - added extra check for hidden aspect + unit test
This commit is contained in:
@@ -136,7 +136,8 @@ public class RecordsManagementContainerType extends BaseBehaviourBean
|
||||
QName childType = nodeService.getType(child);
|
||||
|
||||
// We only care about "folder" or sub-types
|
||||
if (dictionaryService.isSubClass(childType, ContentModel.TYPE_FOLDER))
|
||||
if (dictionaryService.isSubClass(childType, ContentModel.TYPE_FOLDER) &&
|
||||
!nodeService.hasAspect(child, ContentModel.ASPECT_HIDDEN))
|
||||
{
|
||||
if (dictionaryService.isSubClass(childType, ContentModel.TYPE_SYSTEM_FOLDER))
|
||||
{
|
||||
|
Reference in New Issue
Block a user