Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-6279

VCS: InputStream not closed when saving a blob

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.3.2
    • Fix Version/s: 5.4.1
    • Component/s: Core VCS

      Description

      SQLContentProperty.setValue gets the stream from a blob but this stream is never closed.
      This is a problem for people creating blobs from files on windows, when the files have to be deleted afterwards. Also, it leaks file descriptors.

        Attachments

          Activity

            People

            • Assignee:
              fguillaume Florent Guillaume
              Reporter:
              fguillaume Florent Guillaume
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: