Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-2624

BlobStore should not treat empty blobs like an error

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.2.0
    • Fix Version/s: 3.3.0
    • Component/s: Blob
    • Labels:
      None

      Description

      Currently, BlobStoreContract assumes empty byte array or stream is actually an error.

      It makes everything harder to handle and there's nothing preventing to use nominal error handling in this case (either CompletableFuture exceptionally or simple exception).

      We should change the contract and all implementations to fix that.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              matthieu Matthieu Baechler
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: