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

make StreamingBlob able to persist itself in place (without returning a new Blob instance)

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 5.1.4, 5.2 M1
    • Fix Version/s: 5.1.5, 5.2 M2
    • Component/s: Core
    • Impact type:
      API change

      Description

      The current StreamingBlob.persist() method return a new implementation instance of FileBlob with a copy of the binary content of the original StreamingBlob. If the source is not resetable (e.g. an input stream), the initial source is exhausted. Hence the current coreevent listeners such as the DigestComputer and the future MimetypeCoreEventListener ( NXP-1085 ).

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - 6 hours
                  6h
                  Remaining:
                  Remaining Estimate - 6 hours
                  6h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified