mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM-4717 - tests, one failing
This commit is contained in:
@@ -268,6 +268,11 @@ public class RecordFolderType extends AbstractDisposableItem
|
|||||||
{
|
{
|
||||||
final NodeRef child = childAssocRef.getChildRef();
|
final NodeRef child = childAssocRef.getChildRef();
|
||||||
|
|
||||||
|
if(!nodeService.exists(child))
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// only records can be added in a record folder or hidden folders(is the case of e-mail attachments)
|
// only records can be added in a record folder or hidden folders(is the case of e-mail attachments)
|
||||||
if (instanceOf(child, ContentModel.TYPE_FOLDER) && !nodeService.hasAspect(child, ContentModel.ASPECT_HIDDEN))
|
if (instanceOf(child, ContentModel.TYPE_FOLDER) && !nodeService.hasAspect(child, ContentModel.ASPECT_HIDDEN))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user