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 A23E9DDE1 for ; Wed, 14 Nov 2012 12:08:20 +0000 (UTC) Received: (qmail 83283 invoked by uid 500); 14 Nov 2012 12:08:20 -0000 Delivered-To: apmail-chemistry-dev-archive@chemistry.apache.org Received: (qmail 82992 invoked by uid 500); 14 Nov 2012 12:08:15 -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 82658 invoked by uid 99); 14 Nov 2012 12:08:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 14 Nov 2012 12:08:13 +0000 Date: Wed, 14 Nov 2012 12:08:13 +0000 (UTC) From: =?utf-8?Q?Florian_M=C3=BCller_=28JIRA=29?= To: dev@chemistry.apache.org Message-ID: <795751880.113500.1352894893118.JavaMail.jiratomcat@arcas> In-Reply-To: <395784539.106860.1352803823378.JavaMail.jiratomcat@arcas> Subject: [jira] [Assigned] (CMIS-604) WebService ObjectService.getContentStream(...) never close the stream once consummed 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/CMIS-604?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:all-tabpanel ] Florian M=C3=BCller reassigned CMIS-604: ----------------------------------- Assignee: Florian M=C3=BCller =20 > WebService ObjectService.getContentStream(...) never close the stream onc= e consummed > -------------------------------------------------------------------------= ----------- > > Key: CMIS-604 > URL: https://issues.apache.org/jira/browse/CMIS-604 > Project: Chemistry > Issue Type: Bug > Components: opencmis-commons, opencmis-server > Affects Versions: OpenCMIS 0.8.0 > Reporter: Cedric Moitrier > Assignee: Florian M=C3=BCller > > This bug has been introduced when fixing CMIS-548. > org.apache.chemistry.opencmis.commons.impl.Converter#convert(ContentStrea= m contentStream) now returns a CmisContentStreamType whose DataHandler prev= ents its InputStream from being closed. > The issue can be reproduced with the Fileshare Repository. > 1/ call getContent on a document > 2/ delete the same document > -> deletion will fail because an InputStream on that document has not bee= n properly closed on the server side -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrato= rs For more information on JIRA, see: http://www.atlassian.com/software/jira