[
https://issues.apache.org/jira/browse/CMIS-604?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Florian Müller resolved CMIS-604.
---------------------------------
Resolution: Fixed
Fix Version/s: OpenCMIS 0.13.0
> WebService ObjectService.getContentStream(...) never close the stream once
> 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üller
> Fix For: OpenCMIS 0.13.0
>
>
> This bug has been introduced when fixing CMIS-548.
> org.apache.chemistry.opencmis.commons.impl.Converter#convert(ContentStream
> contentStream) now returns a CmisContentStreamType whose DataHandler prevents
> 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 been
> properly closed on the server side
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)