From dev-return-18722-archive-asf-public=cust-asf.ponee.io@manifoldcf.apache.org Thu Oct 25 21:14:04 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id 19A9C18067B for ; Thu, 25 Oct 2018 21:14:03 +0200 (CEST) Received: (qmail 29420 invoked by uid 500); 25 Oct 2018 19:14:03 -0000 Mailing-List: contact dev-help@manifoldcf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@manifoldcf.apache.org Delivered-To: mailing list dev@manifoldcf.apache.org Received: (qmail 29349 invoked by uid 99); 25 Oct 2018 19:14:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 25 Oct 2018 19:14:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 8F48BC20C8 for ; Thu, 25 Oct 2018 19:14:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.501 X-Spam-Level: X-Spam-Status: No, score=-109.501 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id qVz7E6D4xT-t for ; Thu, 25 Oct 2018 19:14:01 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 73B3B5F4ED for ; Thu, 25 Oct 2018 19:14:01 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id DB6C8E25B0 for ; Thu, 25 Oct 2018 19:14:00 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 519EB2669E for ; Thu, 25 Oct 2018 19:14:00 +0000 (UTC) Date: Thu, 25 Oct 2018 19:14:00 +0000 (UTC) From: "Piergiorgio Lucidi (JIRA)" To: dev@manifoldcf.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (CONNECTORS-1548) CMIS output connector test fails with versioning state error MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/CONNECTORS-1548?page=3Dcom.atla= ssian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId= =3D16664184#comment-16664184 ]=20 Piergiorgio Lucidi commented on CONNECTORS-1548: ------------------------------------------------ Found the related issue CONNECTORS-1542 about implementing the Version Poli= cy selection created by=C2=A0[~douglascrp]: https://issues.apache.org/jira/browse/CONNECTORS-1542 =C2=A0 > CMIS output connector test fails with versioning state error > ------------------------------------------------------------ > > Key: CONNECTORS-1548 > URL: https://issues.apache.org/jira/browse/CONNECTORS-154= 8 > Project: ManifoldCF > Issue Type: Bug > Components: CMIS Output Connector > Reporter: Karl Wright > Assignee: Piergiorgio Lucidi > Priority: Major > Fix For: ManifoldCF 2.12 > > > While working on the upgrade to Tika 1.19.1, I ran into CMIS output conne= ctor test failures. Specifically, here's the trace: > {code} > [junit] org.apache.manifoldcf.core.interfaces.ManifoldCFException: Th= e versioning state flag is imcompatible to the type definition. > [junit] at org.apache.manifoldcf.agents.output.cmisoutput.CmisOut= putConnector.addOrReplaceDocumentWithException(CmisOutputConnector.java:994= ) > {code} > Nested exception is: > {code} > [junit] Caused by: org.apache.chemistry.opencmis.commons.exceptions.C= misConstraintException: The versioning state flag is imcompatible to the ty= pe definition. > [junit] at org.apache.chemistry.opencmis.client.bindings.spi.atom= pub.AbstractAtomPubService.convertStatusCode(AbstractAtomPubService.java:51= 4) > [junit] at org.apache.chemistry.opencmis.client.bindings.spi.atom= pub.AbstractAtomPubService.post(AbstractAtomPubService.java:717) > [junit] at org.apache.chemistry.opencmis.client.bindings.spi.atom= pub.ObjectServiceImpl.createDocument(ObjectServiceImpl.java:122) > [junit] at org.apache.chemistry.opencmis.client.runtime.SessionIm= pl.createDocument(SessionImpl.java:1158) > {code} > This may (or may not) be related to the Tika code now using a different i= mplementation of jaxb. I've moved all of jaxb and its dependent classes in= to connector-common-lib accordingly, and have no specific inclusions of jax= b in any connector class that would need it to be in connector-lib. > It has been committed to trunk; r1844137. Please verify (or disprove) th= at the problem is the new jaxb implementation. If it is we'll need to figu= re out why CMIS cares which implementation is used. -- This message was sent by Atlassian JIRA (v7.6.3#76005)