We have a problem with a Folder object and custom aspects:
...
properties.put(PropertyIds.OBJECT_TYPE_ID, "F:sd:folderDocument,P:sd:info");
properties.put("sd:cause", "asdfg");
Folder stDocument = folder.createFolder(properties);
...
Conten of sd:cause is "nothing" in CMIS 1.1 but in CMIS 1.0 work fine.
NOT WORK!
params.put(SessionParameter.ATOMPUB_URL, "http://localhost:8084/alfresco/api/-default-/public/cmis/versions/1.1/atom");
WORK!
params.put(SessionParameter.ATOMPUB_URL, "http://localhost:8084/alfresco/api/-default-/public/cmis/versions/1.0/atom");
We need work in version 1.1
In CMIS 1.1 you add an aspect by adding the aspect type ID to the cmis:secondaryObjectTypeIds property. Here is an example: https://gist.github.com/jpotts/7242070
Make sure you are NOT using the alfresco object factory from the CMIS extensions project when using CMIS 1.1.