You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Gavin Cornwell (JIRA)" <ji...@apache.org> on 2014/07/30 12:07:38 UTC

[jira] [Created] (CMIS-828) parentId is not parsed when requesting type definitions

Gavin Cornwell created CMIS-828:
-----------------------------------

             Summary: parentId is not parsed when requesting type definitions
                 Key: CMIS-828
                 URL: https://issues.apache.org/jira/browse/CMIS-828
             Project: Chemistry
          Issue Type: Bug
          Components: objectivecmis
    Affects Versions: ObjectiveCMIS 0.4
            Reporter: Gavin Cornwell
            Assignee: Gavin Cornwell
             Fix For: ObjectiveCMIS 0.5


When a type definition for a type that has a parent is requested the parentId is returned (see response below), however the "parentTypeId" property on CMISTypeDefinition is always set to nil.

{noformat}
<cmisra:type 
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="cmis:cmisTypeDocumentDefinitionType">
        <cmis:id>D:fdk:everything</cmis:id>
        <cmis:localName>everything</cmis:localName>
        <cmis:localNamespace>http://www.alfresco.org/model/fdk/1.0</cmis:localNamespace>
        <cmis:displayName>Everything</cmis:displayName>
        <cmis:queryName>fdk:everything</cmis:queryName>
        <cmis:description>Everything</cmis:description>
        <cmis:baseId>cmis:document</cmis:baseId>
        <cmis:parentId>cmis:document</cmis:parentId>
        ....
{noformat}



--
This message was sent by Atlassian JIRA
(v6.2#6252)