Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-32165

Make GridFS Blob Store delete idempotent

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2021.x, 2023.x
    • Fix Version/s: 2023.4, 2021.46
    • Component/s: BlobManager
    • Release Notes Summary:
      GridFS Blob Store's delete method is idempotent
    • Tags:
    • Team:
      PLATFORM
    • Sprint:
      nxplatform #101
    • Story Points:
      1

      Description

      Calling org.nuxeo.ecm.core.storage.mongodb.blob.GridFSBlobStore.deleteBlob(String) twice on the same blob key throws a NullPointerException.

      Delete methods of all blob stores should be idempotent.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: