AnsweredAssumed Answered

Alfresco 5.0 with cmis 1.0 aspects fail

Question asked by ephesoft on Apr 16, 2015
Latest reply on Apr 22, 2015 by ephesoft
Hi,

I am trying to use Alfresco 5.0 community version for cmis 1.0 with Service URL as: http://servername:port/alfresco/api/-default-/public/cmis/versions/1.0/atom.

I am using Alfresco Extension jar version 0.3:
   sessionParameters.put(SessionParameter.OBJECT_FACTORY_CLASS, "org.alfresco.cmis.client.impl.AlfrescoObjectFactoryImpl");

But the aspect fails with exception of no aspect property defined. I simply moved from Alfresco 4.2 version to 5.0 version with no other change, but aspects fail with following exception:

Caused by: java.lang.IllegalArgumentException: Property 'cm:description' is not valid for this type or one of the secondary types!

I tried to use this with opencmis chemistry jar version 0.6.0 and with version 0.10.0. Same error occured on both.

Is it taht Alfresco 5.0 with cmis 1.0 does not support aspects?

Outcomes