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

Azure Blob Store Presigned Url Param "blockId" does not match official Azure REST API contract

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 1.40.0
    • None
    • blob-cloud-azure
    • None
    • Patch

    Description

      I'm trying to get Direct Binary Upload to work locally using an Azurite blob service emulator. I've run into an issue where the blockId parameter for a PUT block request from an AEM Cloud SDK instance is failing to match the necessary operation in the Azure OpenAPI spec and Azurite is not tolerating the difference in casing when compared to the serialized form, blockid.

      Link: source of issue inĀ AzureBlobStoreBackend.java

      Link: Azure Put Block REST API

      I've confirmed that simply rewriting the oak-signed URL to change the only the one parameter name, i.e., by hacking the JS clientlib for the AEM Assets UI, fixes the issue with Azurite.

      Attachments

        Activity

          People

            Unassigned Unassigned
            madamcin Mark Adamcin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: