Details

    • Type: Sub-task
    • 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: None

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              ogrisel Olivier Grisel
              Reporter:
              ogrisel Olivier Grisel
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

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