Gavin Cornwell created CMIS-827:
-----------------------------------
Summary: The baseTypeId property is set to "unknown" when
retrieving an aspect definition from Alfresco
Key: CMIS-827
URL: https://issues.apache.org/jira/browse/CMIS-827
Project: Chemistry
Issue Type: Bug
Components: objectivecmis
Affects Versions: ObjectiveCMIS 0.4
Reporter: Gavin Cornwell
Assignee: Gavin Cornwell
Fix For: ObjectiveCMIS 0.5
When requesting a definition for an aspect in an Alfresco server, for example
with the URL:
<host>/alfresco/api/-default-/public/cmis/versions/1.0/atom/type?id=P:exif:exif
The response (see below) returns the baseId as cmis:policy, yet the
"baseTypeId" property on CMISTypeDefinition is set to "CMISBaseTypeUnknown".
{noformat}
<cmisra:type
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:type="cmis:cmisTypePolicyDefinitionType">
<cmis:id>P:exif:exif</cmis:id>
<cmis:localName>exif</cmis:localName>
<cmis:localNamespace>http://www.alfresco.org/model/exif/1.0</cmis:localNamespace>
<cmis:displayName>EXIF</cmis:displayName>
<cmis:queryName>exif:exif</cmis:queryName>
<cmis:description>Subset of the standard EXIF
metadata</cmis:description>
<cmis:baseId>cmis:policy</cmis:baseId>
<cmis:parentId>P:cmisext:aspects</cmis:parentId>
<cmis:creatable>false</cmis:creatable>
....
{noformat}
--
This message was sent by Atlassian JIRA
(v6.2#6252)