mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fix for CLOUD-2249 'SELECT * FROM cmis:folder' query returns object with 'null' parameter
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@59557 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -2783,6 +2783,13 @@ public class CMISConnector implements ApplicationContextAware, ApplicationListen
|
||||
|
||||
for (CMISResultSetRow row : rs)
|
||||
{
|
||||
NodeRef nodeRef = row.getNodeRef();
|
||||
|
||||
if(!nodeService.exists(nodeRef) || filter(nodeRef))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
ObjectDataImpl hit = new ObjectDataImpl();
|
||||
PropertiesImpl properties = new PropertiesImpl();
|
||||
hit.setProperties(properties);
|
||||
@@ -2799,7 +2806,6 @@ public class CMISConnector implements ApplicationContextAware, ApplicationListen
|
||||
|
||||
if (fetchObject)
|
||||
{
|
||||
NodeRef nodeRef = row.getNodeRef();
|
||||
TypeDefinitionWrapper type = getType(nodeRef);
|
||||
if (type == null)
|
||||
{
|
||||
|
Reference in New Issue
Block a user