mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fixed OpenCMIS server getObjectRelationships() operation
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29064 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1872,7 +1872,7 @@ public class CMISConnector implements ApplicationContextAware, ApplicationListen
|
||||
// relationships from and to versions are not preserved
|
||||
return result;
|
||||
}
|
||||
|
||||
|
||||
// get relationships
|
||||
List<AssociationRef> assocs = new ArrayList<AssociationRef>();
|
||||
if (relationshipDirection == RelationshipDirection.SOURCE
|
||||
@@ -1903,7 +1903,7 @@ public class CMISConnector implements ApplicationContextAware, ApplicationListen
|
||||
continue;
|
||||
}
|
||||
|
||||
if ((typeId != null) && !assocRef.getId().equals(typeId))
|
||||
if ((typeId != null) && !assocTypeDef.getTypeId().equals(typeId))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
Reference in New Issue
Block a user