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 7E7CF18411 for ; Sun, 16 Aug 2015 18:51:46 +0000 (UTC) Received: (qmail 27853 invoked by uid 500); 16 Aug 2015 18:51:46 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 27779 invoked by uid 500); 16 Aug 2015 18:51:46 -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 27715 invoked by uid 99); 16 Aug 2015 18:51:46 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Aug 2015 18:51:46 +0000 Date: Sun, 16 Aug 2015 18:51:46 +0000 (UTC) From: "linzhixing (JIRA)" To: dev@chemistry.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CMIS-935) TCK VersioningSmokeTest tries to checkout the same document MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 linzhixing created CMIS-935: ------------------------------- Summary: TCK VersioningSmokeTest tries to checkout the same document Key: CMIS-935 URL: https://issues.apache.org/jira/browse/CMIS-935 Project: Chemistry Issue Type: Bug Affects Versions: OpenCMIS 0.13.0 Reporter: linzhixing Priority: Minor In VersioningSmokeTest checkOut() method is called for an old document "doc", which is already checked in and became an older version. This produces CmisVersioningException in my CMIS server saying that the operation is not allowed on a non-current version of a document. // check out again 153 pwcId = doc.checkOut(); 154 pwc = (Document) session.getObject(pwcId, SELECT_ALL_NO_CACHE_OC); // check out again 167 pwcId = doc.checkOut(); 168 pwc = (Document) session.getObject(pwcId, SELECT_ALL_NO_CACHE_OC); -- This message was sent by Atlassian JIRA (v6.3.4#6332)