Uploaded image for project: 'Jackrabbit Oak'
  1. Jackrabbit Oak
  2. OAK-8599

[Direct Binary Access] Initiate upload should return null if feature is disabled

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    Description

      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-

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            mattvryan Matt Ryan
            mattvryan Matt Ryan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment