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 E05248FFB for ; Mon, 5 Sep 2011 13:23:12 +0000 (UTC) Received: (qmail 8257 invoked by uid 500); 5 Sep 2011 13:23:12 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 8095 invoked by uid 500); 5 Sep 2011 13:23:11 -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 8081 invoked by uid 99); 5 Sep 2011 13:23:11 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 05 Sep 2011 13:23:11 +0000 X-ASF-Spam-Status: No, hits=-2.3 required=5.0 tests=RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of florian.mueller@alfresco.com designates 207.126.144.143 as permitted sender) Received: from [207.126.144.143] (HELO eu1sys200aog117.obsmtp.com) (207.126.144.143) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 05 Sep 2011 13:23:01 +0000 Received: from zimbra.alfresco.com ([88.151.129.3]) by eu1sys200aob117.postini.com ([207.126.147.11]) with SMTP ID DSNKTmTNIfNxBEKVqHL8S6BSVFhKx3h1nB1A@postini.com; Mon, 05 Sep 2011 13:22:41 UTC Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbra.alfresco.com (Postfix) with ESMTP id 00820414080; Mon, 5 Sep 2011 14:22:41 +0100 (BST) X-Virus-Scanned: amavisd-new at unx-d-manc4.tc.ifeltd.com Received: from zimbra.alfresco.com ([127.0.0.1]) by localhost (zimbra.alfresco.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Tal2Hv+EFhDg; Mon, 5 Sep 2011 14:22:40 +0100 (BST) Received: from Florian-Mullers-MacBook-Pro-2.local (unknown [87.114.185.191]) (Authenticated sender: florian.mueller) by zimbra.alfresco.com (Postfix) with ESMTP id AF194414028; Mon, 5 Sep 2011 14:22:40 +0100 (BST) Message-ID: <4E64CD1F.9060802@alfresco.com> Date: Mon, 05 Sep 2011 15:22:39 +0200 From: =?ISO-8859-1?Q?Florian_M=FCller?= User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:6.0.1) Gecko/20110830 Thunderbird/6.0.1 MIME-Version: 1.0 To: dev@chemistry.apache.org CC: "Weigel, Achim" Subject: Re: Update Smoke Test for Document Type with Versioning References: <57FB0D12D0E5F3478D329465E18D056515ADEC0C5B@DEWDFECCR09.wdf.sap.corp> In-Reply-To: <57FB0D12D0E5F3478D329465E18D056515ADEC0C5B@DEWDFECCR09.wdf.sap.corp> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi Achim, I have modified the test a bit. It now checks out the document if that is necessary. Please try again. - Florian On 05/09/2011 14:25, Weigel, Achim wrote: > Hello, > > when we run the 'Update Smoke Test' from the CMIS Workbench for a object type with baseType=cmis:document and versioning isVersionable=true we get the following error: > > UNEXPECTED_EXCEPTION: Exception: org.apache.chemistry.opencmis.commons.exceptions.CmisVersioningException: The object with id 4e64bcc8c4a4a1645b1ec47e is not a private working copy (AbstractSessionTest.java:144) > > As far as I could see the updateProperties method is called on the latest version of a version series whereby the version series is currently not checked out, but we do only allow modifications on a private working copy for object types with versioning. > > > Thank you very much in advance and best regards, > Achim > >