[
https://jira.nuxeo.com/browse/CMIS-24?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Florent Guillaume resolved CMIS-24.
-----------------------------------
Resolution: Fixed
Fixed some time ago.
> CmisInvalidArgumentException "Property cmis:objectTypeId must be set!" thrown
> when calling createDocument
> ---------------------------------------------------------------------------------------------------------
>
> Key: CMIS-24
> URL: https://jira.nuxeo.com/browse/CMIS-24
> Project: Nuxeo Chemistry
> Issue Type: Bug
> Affects Versions: chemistry-nuxeo-5.3.2
> Environment: Nuxeo 5.3.2
> Reporter: José M. Palomar
> Assignee: Florent Guillaume
> Priority: Major
> Fix For: opencmis-0.1.0
>
>
> CmisInvalidArgumentException is thrown when trying to create new document
> indicating that cmis:objectTypeId is not set although the property was set in
> properties input Map.
> I made some tests and it seems that the problem is in the conversion of the
> input Map to the org.apache.chemistry.opencmis.commons.data.Properties object
> using the method
> org.apache.chemistry.opencmis.client.runtime.repository.PersistentObjectFactoryImpl.convertProperties(Map<String,
> ?>, ObjectType, Set<Updatability>). When the conversion is made the property
> cmis:objectTypeId is not added to the Properties because is not updatable.
> I submitted a bug to Apache Chemistry:
> https://issues.apache.org/jira/browse/CMIS-246?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
> .
> They resolved it indicating that the property definition of cmis:objectTypeId
> is wrong. The updatability has to be "oncreate", not "readonly". See CMIS
> spec:
> http://docs.oasis-open.org/cmis/CMIS/v1.0/os/cmis-spec-v1.0.html#_Toc243905396
> . And that it has to be resolved in Nuxeo.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets