You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Florent Guillaume (JIRA)" <ji...@apache.org> on 2012/06/20 16:14:42 UTC
[jira] [Resolved] (CMIS-545) Unable to read complexType property of
document type
[ https://issues.apache.org/jira/browse/CMIS-545?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Florent Guillaume resolved CMIS-545.
------------------------------------
Resolution: Not A Problem
Assignee: Florent Guillaume
This is a Nuxeo-specific issue, please ask about this in Nuxeo forums (http://answers.nuxeo.com/).
However to answer your question quickly, Nuxeo has complex properties but this notion is not in the CMIS standard, so complex properties cannot be exposed through the CMIS bindings. I added a note about this in [CMIS for Nuxeo|http://doc.nuxeo.com/x/JIAO].
> Unable to read complexType property of document type
> ----------------------------------------------------
>
> Key: CMIS-545
> URL: https://issues.apache.org/jira/browse/CMIS-545
> Project: Chemistry
> Issue Type: Bug
> Components: opencmis-client
> Affects Versions: OpenCMIS 0.8.0
> Environment: open cmis 0.8.0, nuxeo
> Reporter: Łukasz Dwórski
> Assignee: Florent Guillaume
>
> I've created simple custom type in nuxeo:
> {code:xml}
> <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
> targetNamespace="http://nuxeo.org/schemas/customer/">
> <xs:element name="firstname" type="xs:string"/>
> <xs:element name="lastname" type="xs:string"/>
> <xs:element name="address">
> <xs:complexType>
> <xs:sequence>
> <xs:element name="street" type="xs:string"/>
> <xs:element name="city" type="xs:string"/>
> </xs:sequence>
> </xs:complexType>
> </xs:element>
> </xs:schema>
> {code}
> Custom type is registered correcty, I can create document using this type. Unfortunately when I'm querying for object (using Apache Chemistry) I am unable to read "address" property of object. "firstname" and "lastname" are available in properties map, "address" complexType is not. So this is probably issue with reading complexType properties.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira