mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fix for ALF-16683 CMIS: cannot navigate to original document was created through CMIS with CHECKED OUT version state.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@43656 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -148,6 +148,10 @@ public class CMISNodeInfoImpl implements CMISNodeInfo
|
|||||||
if(connector.getVersionService().isVersioned(nodeRef))
|
if(connector.getVersionService().isVersioned(nodeRef))
|
||||||
{
|
{
|
||||||
versionLabel = (String) connector.getNodeService().getProperty(nodeRef, ContentModel.PROP_VERSION_LABEL);
|
versionLabel = (String) connector.getNodeService().getProperty(nodeRef, ContentModel.PROP_VERSION_LABEL);
|
||||||
|
if(versionLabel == null)
|
||||||
|
{
|
||||||
|
versionLabel = CMISConnector.UNVERSIONED_VERSION_LABEL;
|
||||||
|
}
|
||||||
objectId = nodeRef.toString() + CMISConnector.ID_SEPERATOR + versionLabel;
|
objectId = nodeRef.toString() + CMISConnector.ID_SEPERATOR + versionLabel;
|
||||||
currentObjectId = nodeRef.toString() + CMISConnector.ID_SEPERATOR + versionLabel;
|
currentObjectId = nodeRef.toString() + CMISConnector.ID_SEPERATOR + versionLabel;
|
||||||
currentNodeId = nodeRef.toString();
|
currentNodeId = nodeRef.toString();
|
||||||
|
Reference in New Issue
Block a user