You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Florian Müller (JIRA)" <ji...@apache.org> on 2011/07/28 12:22:10 UTC

[jira] [Resolved] (CMIS-406) cancelCheckOut have same action than delete

     [ https://issues.apache.org/jira/browse/CMIS-406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Florian Müller resolved CMIS-406.
---------------------------------

    Resolution: Not A Problem
      Assignee: Florian Müller

It works as defined in the CMIS specification. CheckOut must return a PWC object that is different from the original document. CancelCheckOut calls DELETE on the PWC object.

On the server side deleteObjectOrCancelCheckOut() is called. If the object is a PWC, it is a cancelCheckOut() call. If it is something else, it is a delete() call. (See JavaDoc.)


> cancelCheckOut have same action than delete
> -------------------------------------------
>
>                 Key: CMIS-406
>                 URL: https://issues.apache.org/jira/browse/CMIS-406
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-client, opencmis-client-bindings
>    Affects Versions: OpenCMIS 0.4.0
>            Reporter: Florent Amaridon
>            Assignee: Florian Müller
>
> I use the Workbench to test my serveur implementtation. When i want Cancel check out a document i'm never call on cancelCheckOut methode.
> After reading client's source I see on VersioningServiceImpl.cancelCheckOut(String repositoryId, String objectId, ExtensionsData extension) call the same method as delete 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira