chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Müller (JIRA) <>
Subject [jira] [Resolved] (CMIS-338) cmis:objectTypeId should have Updatability.ONCREATE
Date Thu, 24 Mar 2011 11:52:05 GMT


Florian Müller resolved CMIS-338.

    Resolution: Fixed

Thanks for the patch!

> cmis:objectTypeId should have Updatability.ONCREATE
> ---------------------------------------------------
>                 Key: CMIS-338
>                 URL:
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-server-fileshare
>    Affects Versions: OpenCMIS 0.3.0
>            Reporter: Andreas Toom
>            Assignee: Florian Müller
>             Fix For: OpenCMIS 0.4.0
>         Attachments: fileshare-updatability-oncreate.patch
> I have been exploring some CMIS functionality and when I tried to create a new document
I ran into some exceptions. I found a related JIRA in the opencmis-client-api component (
that pointed me in the right direction. I checked the file in the fileshare
component and noticed that the updatability flag was set to READONLY. 
> I assumed that it should be set to ONCREATE so I tested and it worked. I got one followup
problem though, in FileShareRepository.compileProperties the typeId is excluded from the incoming
properties and added at the end instead and this will cause the required properties validation
to fail. I did the simplest (and probably the ugliest) thing and commented out the removal
of the typeId property in the loop. 
> See the patch if you are interested.

This message is automatically generated by JIRA.
For more information on JIRA, see:

View raw message