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 41AF4EB7F for ; Thu, 10 Jan 2013 14:28:13 +0000 (UTC) Received: (qmail 66528 invoked by uid 500); 10 Jan 2013 14:28:13 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 66450 invoked by uid 500); 10 Jan 2013 14:28:12 -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 66207 invoked by uid 99); 10 Jan 2013 14:28:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 10 Jan 2013 14:28:12 +0000 Date: Thu, 10 Jan 2013 14:28:12 +0000 (UTC) From: "Ivan Vasyliev (JIRA)" To: dev@chemistry.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CMIS-618) This operation requires that the node be versionable (that is, isNodeType("mix:versionable") == true) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Ivan Vasyliev created CMIS-618: ---------------------------------- Summary: This operation requires that the node be versionable (that is, isNodeType("mix:versionable") == true) Key: CMIS-618 URL: https://issues.apache.org/jira/browse/CMIS-618 Project: Chemistry Issue Type: Sub-task Components: opencmis-server-jcr Affects Versions: OpenCMIS 0.9.0 Reporter: Ivan Vasyliev Attachments: versioningType.patch TCK executed with modeshape profile. Modeshape does not support mix:simpleVersionable. Stacktrace: org.apache.chemistry.opencmis.commons.exceptions.CmisStorageException: This operation requires that the node be versionable (that is, isNodeType("mix:versionable") == true) at org.apache.chemistry.opencmis.client.bindings.spi.webservices.AbstractWebServicesService.convertException(AbstractWebServicesService.java:117) at org.apache.chemistry.opencmis.client.bindings.spi.webservices.ObjectServiceImpl.createDocument(ObjectServiceImpl.java:86) at org.apache.chemistry.opencmis.client.runtime.SessionImpl.createDocument(SessionImpl.java:726) at org.apache.chemistry.opencmis.client.runtime.FolderImpl.createDocument(FolderImpl.java:88) at org.apache.chemistry.opencmis.tck.impl.AbstractSessionTest.createDocument(AbstractSessionTest.java:368) at org.apache.chemistry.opencmis.tck.impl.AbstractSessionTest.createDocument(AbstractSessionTest.java:335) Proposed fix: {code} if(simpleVersionable supported) use simpleVersionable else if(versionable supported) use versionable else throw exception {code} Could you please elaborate what are the possible issues with jcr bridge when switching to mix:versionable? (EOW, what else needs to be changed?) -- 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