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

Florian Müller commented on CMIS-406:
-------------------------------------

Yes, you have to add code in deleteObjectOrCancelCheckOut() that dispatches the 
call to either cancelCheckOut() or to deleteObject(). This code is repository 
specific and cannot be provided by the framework.

There is no way to tag a PWC, but the PWC id and the document id must not be 
the same. In order to keep it simple, the PWC id could be the document id plus 
a suffix or prefix. The suffix or prefix could then be used to dispatch to the 
right operation.

> 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


Reply via email to