Return-Path: X-Original-To: apmail-chemistry-dev-archive@www.apache.org Delivered-To: apmail-chemistry-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0C0A810DC0 for ; Wed, 19 Jun 2013 09:14:23 +0000 (UTC) Received: (qmail 32136 invoked by uid 500); 19 Jun 2013 09:14:23 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 31941 invoked by uid 500); 19 Jun 2013 09:14:21 -0000 Mailing-List: contact dev-help@chemistry.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@chemistry.apache.org Delivered-To: mailing list dev@chemistry.apache.org Received: (qmail 31758 invoked by uid 99); 19 Jun 2013 09:14:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Jun 2013 09:14:20 +0000 Date: Wed, 19 Jun 2013 09:14:20 +0000 (UTC) From: "linzhixing (JIRA)" To: dev@chemistry.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CMIS-675) OpenCMIS server's checkOut does not return PWC but the checked out document atom entry MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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