chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "linzhixing (JIRA)" <>
Subject [jira] [Commented] (CMIS-675) OpenCMIS server's checkOut does not return PWC but the checked out document atom entry
Date Thu, 27 Jun 2013 08:28:20 GMT


linzhixing commented on CMIS-675:

Now I got it. Am I right setting a value of new PWC objectId to Holder<String> class?
I couldn't notice that I have to set a new value to the argument, not to a return value(in
fact, there is no return value because checkOut() is a void type method).

I suppose it would be better for developers to add a comment "Update Holder class argument
when getting out of the method" or so to checkOut() and other several methods in
Indeed there is a description "Holder for IN/OUT parameters." in Holder class, but it might
not be a kind expression nor be written in an appropriate place to grasp it.
> OpenCMIS server's checkOut does not return PWC but the checked out document atom entry
> --------------------------------------------------------------------------------------
>                 Key: CMIS-675
>                 URL:
>             Project: Chemistry
>          Issue Type: Bug
>    Affects Versions: OpenCMIS 0.9.0 beta 1
>            Reporter: linzhixing
> On the sever side via Atompub, VersioningService#checkOut creates objectInfo after checking
out a document and cretring PWC(Line:66). But this objectInfo seems to be remain as the checked
out document, not PWC. Alhough the objectInfo has "workingCopyOriginalId" property and I confirm
that it has the correct PWC id value, objectInfo is created without it as follows:
> service.getObjectInfo(repositoryId, checkOutId.getValue())
> where checkOutId still indicates the document which was checked out.
> The client receives only "via" atom link as PWC id.
> According to CMIS spec,, output objectId must be PWC id, and on the sever side
server.impl.atompub.VersioningService#checkOut is a void type method, so I can't create objectInfo
of PWC by myself.
> How should I do? 
> As a consequence, I got errors in Versioning Smoke Test's checkOut test in TCK. 

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:

View raw message