You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Matthieu Baechler (JIRA)" <se...@james.apache.org> on 2018/12/10 16:37:00 UTC

[jira] [Created] (JAMES-2624) BlobStore should not treat empty blobs like an error

Matthieu Baechler created JAMES-2624:
----------------------------------------

             Summary: BlobStore should not treat empty blobs like an error
                 Key: JAMES-2624
                 URL: https://issues.apache.org/jira/browse/JAMES-2624
             Project: James Server
          Issue Type: Bug
          Components: Blob
    Affects Versions: 3.2.0
            Reporter: Matthieu Baechler


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.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org