mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fixed CMIS version history (unversioned documents)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@29589 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -152,6 +152,9 @@ public class CMISNodeInfoImpl implements CMISNodeInfo
|
|||||||
} else if (isDocument())
|
} else if (isDocument())
|
||||||
{
|
{
|
||||||
objecVariant = CMISObjectVariant.CURRENT_VERSION;
|
objecVariant = CMISObjectVariant.CURRENT_VERSION;
|
||||||
|
objectId = currentNodeId + CMISConnector.ID_SEPERATOR + CMISConnector.UNVERSIONED_VERSION_LABEL;
|
||||||
|
versionLabel = CMISConnector.UNVERSIONED_VERSION_LABEL;
|
||||||
|
currentObjectId = objectId;
|
||||||
hasPWC = (connector.getLockService().getLockType(nodeRef) == LockType.READ_ONLY_LOCK);
|
hasPWC = (connector.getLockService().getLockType(nodeRef) == LockType.READ_ONLY_LOCK);
|
||||||
} else
|
} else
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user