Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 10 by
jeff.po...@alfresco.com: Copy fails when run against
Alfresco 4.2.e and CMIS 1.0 AtomPub
http://code.google.com/a/apache-extras.org/p/alfresco-opencmis-extension/issues/detail?id=10
What steps will reproduce the problem?
1. Create a document and add one or more custom aspects to the document.
2. Set one or more properties defined on those custom aspects.
3. Get a CMIS session, making sure to use the OpenCMIS extension.
4. Call the copy method on AlfrescoDocument to copy the document you
created in step 1 to a folder.
What is the expected output? What do you see instead?
Expected output is that the copy succeeds. Instead you will get:
Exception in thread "main" java.lang.IllegalArgumentException:
Property 'sc:isActive' is neither an object type property nor an aspect
property!
at
org.alfresco.cmis.client.impl.AlfrescoObjectFactoryImpl.convertProperties(AlfrescoObjectFactoryImpl.java:191)
at
org.apache.chemistry.opencmis.client.runtime.SessionImpl.createDocument(SessionImpl.java:751)
at
org.apache.chemistry.opencmis.client.runtime.DocumentImpl.copyViaClient(DocumentImpl.java:207)
at
org.apache.chemistry.opencmis.client.runtime.DocumentImpl.copy(DocumentImpl.java:155)
at
org.apache.chemistry.opencmis.client.runtime.DocumentImpl.copy(DocumentImpl.java:172)
at
com.alfresco.cmis.example.CmisCopyExample.doExample(CmisCopyExample.java:27)
at com.alfresco.cmis.example.CmisCopyExample.main(CmisCopyExample.java:18)
What version of the product are you using? On what operating system?
OpenCMIS Extension 0.7 with OpenCMIS 0.10.0 on Alfresco 4.2.e using both
the new "Public API" AtomPub 1.0 service URL and the old /cmisatom AtomPub
1.0 service URL.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/a/apache-extras.org/hosting/settings