james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthieu Baechler (JIRA)" <server-...@james.apache.org>
Subject [jira] [Created] (JAMES-2624) BlobStore should not treat empty blobs like an error
Date Mon, 10 Dec 2018 16:37:00 GMT
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


Mime
View raw message