mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged CMIS063 to HEAD
Resolve merge issues. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@17274 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -626,7 +626,7 @@ public class CMISPropertyServiceTest extends BaseCMISTest
|
||||
serviceRegistry.getCheckOutCheckInService().checkin(pwc, versionProperties);
|
||||
|
||||
properties = cmisService.getProperties(content);
|
||||
assertEquals(properties.get(CMISDictionaryModel.PROP_OBJECT_ID), content.toString()+"/1.0");
|
||||
assertEquals(properties.get(CMISDictionaryModel.PROP_OBJECT_ID), content.toString()+";1.0");
|
||||
assertEquals(properties.get(CMISDictionaryModel.PROP_OBJECT_TYPE_ID), CMISDictionaryModel.DOCUMENT_TYPE_ID.getId());
|
||||
assertEquals(properties.get(CMISDictionaryModel.PROP_BASE_TYPE_ID), CMISDictionaryModel.DOCUMENT_TYPE_ID.getId());
|
||||
assertEquals(properties.get(CMISDictionaryModel.PROP_CREATED_BY), authenticationComponent.getCurrentUserName());
|
||||
@@ -706,7 +706,7 @@ public class CMISPropertyServiceTest extends BaseCMISTest
|
||||
serviceRegistry.getCheckOutCheckInService().checkin(pwc, versionProperties);
|
||||
|
||||
properties = cmisService.getProperties(content);
|
||||
assertEquals(properties.get(CMISDictionaryModel.PROP_OBJECT_ID), content.toString()+"/1.1");
|
||||
assertEquals(properties.get(CMISDictionaryModel.PROP_OBJECT_ID), content.toString()+";1.1");
|
||||
assertEquals(properties.get(CMISDictionaryModel.PROP_OBJECT_TYPE_ID), CMISDictionaryModel.DOCUMENT_TYPE_ID.getId());
|
||||
assertEquals(properties.get(CMISDictionaryModel.PROP_BASE_TYPE_ID), CMISDictionaryModel.DOCUMENT_TYPE_ID.getId());
|
||||
assertEquals(properties.get(CMISDictionaryModel.PROP_CREATED_BY), authenticationComponent.getCurrentUserName());
|
||||
|
@@ -28,7 +28,6 @@ import java.io.Serializable;
|
||||
|
||||
import org.alfresco.cmis.CMISDictionaryModel;
|
||||
import org.alfresco.cmis.CMISServices;
|
||||
import org.alfresco.error.AlfrescoRuntimeException;
|
||||
import org.alfresco.model.ContentModel;
|
||||
import org.alfresco.service.ServiceRegistry;
|
||||
import org.alfresco.service.cmr.repository.ChildAssociationRef;
|
||||
@@ -91,7 +90,8 @@ public class PathProperty extends AbstractProperty
|
||||
|
||||
if (i == path.size())
|
||||
{
|
||||
throw new AlfrescoRuntimeException("Path " + path + " not in CMIS root node scope");
|
||||
// TODO:
|
||||
//throw new AlfrescoRuntimeException("Path " + path + " not in CMIS root node scope");
|
||||
}
|
||||
|
||||
if (path.size() - i == 1)
|
||||
|
Reference in New Issue
Block a user