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

Cannot reuse InputStream from LazyBlob

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.1.4
    • Fix Version/s: 5.1.3.2
    • Component/s: None

      Description

      InputStream is get from a blob attached to a document model and it's used in a listener associated to "beforeDocumentModification". If the document is modified several times the same LazyBlob instance is returned as for the first time => java.io.IOException: Stream already closed.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: