make ByteArraySource reopenable
-------------------------------

                 Key: NXP-2425
                 URL: http://jira.nuxeo.org/browse/NXP-2425
             Project: Nuxeo Enterprise Platform
          Issue Type: Sub-task
    Affects Versions: 5.2 M1, 5.1.4
            Reporter: Olivier Grisel
            Assignee: Olivier Grisel
             Fix For: 5.1.5, 5.2 M2


The ByteArraySource implementation return a new stream instance for each call 
to getStream() but canReopen returns false which contradicts the Blob interface 
documentation and make StreamingBlob.isPersistent() / StreamingBlob.persist() 
usage sub optimal (create temporary files when not required).

The fix is trivial but need update tests in nuxeo-core-api

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.nuxeo.org/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

Reply via email to