mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-21 18:09:20 +00:00
Merged HEAD-BUG-FIX (4.3/Cloud) to HEAD (4.3/Cloud)
68109: Merged V4.2-BUG-FIX (4.2.3) to HEAD-BUG-FIX (4.3/Cloud) 65860: MNT-10430 "CMIS: NPE getting mandatory aspects with browser binding" git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@68397 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -1779,7 +1779,7 @@ public class TestCMIS extends EnterpriseTestApi
|
|||||||
CmisSession cmisSession = publicApiClient.createPublicApiCMISSession(Binding.browser, "1.1",
|
CmisSession cmisSession = publicApiClient.createPublicApiCMISSession(Binding.browser, "1.1",
|
||||||
"org.alfresco.cmis.client.impl.AlfrescoObjectFactoryImpl");
|
"org.alfresco.cmis.client.impl.AlfrescoObjectFactoryImpl");
|
||||||
|
|
||||||
ObjectType objectType = cmisSession.getTypeDefinition("D:my:maDoc");
|
ObjectType objectType = cmisSession.getTypeDefinition("D:testcmis:maDoc");
|
||||||
|
|
||||||
// try and get the mandatory aspects
|
// try and get the mandatory aspects
|
||||||
List<String> mandatoryAspects = ((AlfrescoType)objectType).getMandatoryAspects();
|
List<String> mandatoryAspects = ((AlfrescoType)objectType).getMandatoryAspects();
|
||||||
|
Reference in New Issue
Block a user