[
https://jira.nuxeo.com/browse/NXP-6331?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mariana Cedica updated NXP-6331:
--------------------------------
Status: Open (was: Triage)
> File stream not closed after fetching binary in core storage
> ------------------------------------------------------------
>
> Key: NXP-6331
> URL: https://jira.nuxeo.com/browse/NXP-6331
> Project: Nuxeo Enterprise Platform
> Issue Type: Bug
> Components: Core SQL Storage
> Affects Versions: 5.4
> Reporter: Stéphane Lacoin
> Assignee: Stéphane Lacoin
> Priority: Major
> Fix For: 5.4.1
>
>
> Inputstream for a source file gets open, but never closed. Below is the code
> fragment:
> package org.nuxeo.ecm.core.storage.sql.coremodel;
> ......
> public class SQLContentProperty extends SQLComplexProperty {
> ......
> @Override
> public void setValue(Object value) throws DocumentException {
> .......
> InputStream stream;
> try {
> stream = blob.getStream();
> } catch (IOException e) {
> throw new DocumentException(e);
> }
> .......
> }
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.nuxeo.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets