Uploaded image for project: 'Chemistry (Retired)'
  1. Chemistry (Retired)
  2. CMIS-828

parentId is not parsed when requesting type definitions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • ObjectiveCMIS 0.4
    • ObjectiveCMIS 0.5
    • objectivecmis
    • None

    Description

      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.

      <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>
              ....
      

      Attachments

        Activity

          People

            gavincornwell Gavin Cornwell
            gavincornwell Gavin Cornwell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: