You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "Matt Ryan (Jira)" <ji...@apache.org> on 2019/09/05 23:56:00 UTC

[jira] [Created] (OAK-8599) [Direct Binary Access] Initiate upload should return null if feature is disabled

Matt Ryan created OAK-8599:
------------------------------

             Summary: [Direct Binary Access] Initiate upload should return null if feature is disabled
                 Key: OAK-8599
                 URL: https://issues.apache.org/jira/browse/OAK-8599
             Project: Jackrabbit Oak
          Issue Type: Bug
          Components: blob-cloud, blob-cloud-azure, doc
            Reporter: Matt Ryan
            Assignee: Matt Ryan


Documentation at [0] and implementations disagree with Javadoc [1] for {{initiateBinaryUpload()}} regarding determining if the feature is enabled.  At [0] it indicates that either a null return value or empty list of upload URIs indicates the feature is disabled, but [1] indicates only a null return value to indicate the feature is disabled.

[0] - https://jackrabbit.apache.org/oak/docs/features/direct-binary-access.html
[1] - https://jackrabbit.apache.org/oak/docs/apidocs/org/apache/jackrabbit/api/JackrabbitValueFactory.html#initiateBinaryUpload-long-int-



--
This message was sent by Atlassian Jira
(v8.3.2#803003)