mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
RM-500: SOLR: "No items" message after complete Transfer action
* filtered non-existant node from search results git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/BRANCHES/V2.0@42602 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -521,6 +521,12 @@ public class RMAfterInvocationProvider extends RMSecurityCommon
|
|||||||
// All permission checks must pass
|
// All permission checks must pass
|
||||||
inclusionMask.set(i, true);
|
inclusionMask.set(i, true);
|
||||||
|
|
||||||
|
if (nodeService.exists(returnedObject.getNodeRef(i)) == false)
|
||||||
|
{
|
||||||
|
inclusionMask.set(i, false);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
int parentCheckRead = checkRead(returnedObject.getChildAssocRef(i).getParentRef());
|
int parentCheckRead = checkRead(returnedObject.getChildAssocRef(i).getParentRef());
|
||||||
int childCheckRead = checkRead(returnedObject.getNodeRef(i));
|
int childCheckRead = checkRead(returnedObject.getNodeRef(i));
|
||||||
|
|
||||||
@@ -544,6 +550,7 @@ public class RMAfterInvocationProvider extends RMSecurityCommon
|
|||||||
inclusionMask.set(i, false);
|
inclusionMask.set(i, false);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
// Bug out if we are limiting by size
|
// Bug out if we are limiting by size
|
||||||
if ((maxSize != null) && (filteringResultSet.length() > maxSize.intValue()))
|
if ((maxSize != null) && (filteringResultSet.length() > maxSize.intValue()))
|
||||||
|
Reference in New Issue
Block a user