mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fix for CLOUD-2264 'SELECT * FROM cmis:folder' query returns objects with cmis:baseTypeId set to 'cmis:document'
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@60760 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -2790,6 +2790,12 @@ public class CMISConnector implements ApplicationContextAware, ApplicationListen
|
||||
continue;
|
||||
}
|
||||
|
||||
TypeDefinitionWrapper type = getType(nodeRef);
|
||||
if (type == null)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
ObjectDataImpl hit = new ObjectDataImpl();
|
||||
PropertiesImpl properties = new PropertiesImpl();
|
||||
hit.setProperties(properties);
|
||||
@@ -2806,12 +2812,6 @@ public class CMISConnector implements ApplicationContextAware, ApplicationListen
|
||||
|
||||
if (fetchObject)
|
||||
{
|
||||
TypeDefinitionWrapper type = getType(nodeRef);
|
||||
if (type == null)
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
// set allowable actions
|
||||
if (includeAllowableActions)
|
||||
{
|
||||
|
Reference in New Issue
Block a user