mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Fix for ALF-16803 CMIS 0.8 TCK - folder updates fails - it returns a versioned objectId
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@43620 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -860,6 +860,11 @@ public class CMISConnector implements ApplicationContextAware, ApplicationListen
|
||||
*/
|
||||
public String createObjectId(NodeRef currentVersionNodeRef)
|
||||
{
|
||||
if(getFileFolderService().getFileInfo(currentVersionNodeRef).isFolder())
|
||||
{
|
||||
return currentVersionNodeRef.toString();
|
||||
}
|
||||
|
||||
Serializable versionLabel = getNodeService()
|
||||
.getProperty(currentVersionNodeRef, ContentModel.PROP_VERSION_LABEL);
|
||||
if (versionLabel == null)
|
||||
|
Reference in New Issue
Block a user