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

input file not closed when introspecting blog for mimetype

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.4
    • Fix Version/s: 5.4.1, 5.4.2-RC1, 5.4.2
    • Component/s: None

      Description

      On windows, file content injected in repository cannot be deleted until the GC finalize unused input stream. This can break business logic.

      In MimetypeRegistryService.getMimetypeFromBlob(Blob), the blob input stream is not closed.

        Attachments

          Activity

            People

            • Assignee:
              slacoin Stéphane Lacoin
              Reporter:
              slacoin Stéphane Lacoin
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: