mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-14 17:58:59 +00:00
Merged HEAD-BUG-FIX (5.1/Cloud) to HEAD (5.1/Cloud)
92349: Avoid occasional 'node not found' error during concurrent testing of directory listing and deletes' git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@94870 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -164,6 +164,12 @@ public class GetChildrenCannedQuery extends org.alfresco.repo.node.getchildren.G
|
|||||||
// only visible files are returned, relative to the client type.
|
// only visible files are returned, relative to the client type.
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
if (!nodeService.exists(nodeRef))
|
||||||
|
{
|
||||||
|
// Node has disappeared
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
final Client client = FileFilterMode.getClient();
|
final Client client = FileFilterMode.getClient();
|
||||||
boolean notHidden = hiddenAspect.getVisibility(client, nodeRef) != Visibility.NotVisible;
|
boolean notHidden = hiddenAspect.getVisibility(client, nodeRef) != Visibility.NotVisible;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user