You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "linzhixing (JIRA)" <ji...@apache.org> on 2013/06/19 11:14:20 UTC
[jira] [Updated] (CMIS-675) OpenCMIS server's checkOut does not
return PWC but the checked out document atom entry
[ https://issues.apache.org/jira/browse/CMIS-675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
linzhixing updated CMIS-675:
----------------------------
Summary: OpenCMIS server's checkOut does not return PWC but the checked out document atom entry (was: OpenCMIS server's checkOut doesn not return PWC but the checked out document atom entry)
> OpenCMIS server's checkOut does not return PWC but the checked out document atom entry
> --------------------------------------------------------------------------------------
>
> Key: CMIS-675
> URL: https://issues.apache.org/jira/browse/CMIS-675
> 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, 2.2.7.1.2, 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: http://www.atlassian.com/software/jira