[ 
https://issues.apache.org/jira/browse/CMIS-29?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12731447#action_12731447
 ] 

Florent Guillaume commented on CMIS-29:
---------------------------------------

My answer on the mailing list:

In CMIS 0.6 there's no BaseType property defined on objects. The 2.7.4.1.1 
you're reading talks about type definitions themselves, which express their 
base type info using a baseType (note the casing) attribute.
So the version of Alfresco you're testing probably doesn't target 0.6, or it's 
an extension which we can work around using your patch yes.
Note btw that I think recent version of Alfresco don't target 0.6 anymore, but 
at least 0.61, which may explain discrepancies.


> Workaround for Alfresco "bug"
> -----------------------------
>
>                 Key: CMIS-29
>                 URL: https://issues.apache.org/jira/browse/CMIS-29
>             Project: Chemistry
>          Issue Type: Improvement
>          Components: atompub, client
>         Environment: Alfresco HEAD r15101
>            Reporter: Ugo Cei
>            Assignee: Florent Guillaume
>         Attachments: patch5.txt, results.xml
>
>
> The attached file is a feed produced by Alfresco (recent build from svn HEAD) 
> responding to a CMIS query. Please notice the following snippet (line 35):
>            <cmis:propertyString cmis:name="BaseType">
>               <cmis:value>document</cmis:value>
>            </cmis:propertyString>
> When Chemistry tries to parse the file, it fails with the following error:
>       No such property definition: BaseType in type: APPType(document)
> Reading section 2.7.4.1.1 of the spec (v0.6), it seems that BaseType is one 
> of the built-in properties of the Document type, so maybe Alfresco is right 
> and Chemistry is wrong, but I am not familiar enough with the spec to decide 
> whether this is the case.
> The attached patch provides a workaround for this issue.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to