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

Roll back on AmazonS3Exception

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 2021, 2023.x
    • Fix Version/s: 2021.x, 2023.x, 2025.x
    • Component/s: Retention
    • Backlog priority:
      750
    • Sprint:
      nxplatform #123
    • Story Points:
      5

      Description

      Writing a blob for retention can fail if the object is already locked. The transaction should be rolled back when this happens.

      An error should be displayed in the ui and the retention date on the doc should not be modified.

      2024-09-26T11:33:42,038 ERROR [TransactionalBlobStore] Failed to commit update of blob: 45da2a77-5b14-4b6f-9746-f44562ce8292@iFH5YV1DPKctEovdzvX7vKQqsV19KDz1
      java.io.IOException: com.amazonaws.services.s3.model.AmazonS3Exception: Access Denied because object protected by object lock. (Service: Amazon S3; Status Code: 403; Error Code: AccessDenied; Request ID: 8PVR928HVWK8362J; S3 Extended Request ID: cMry5jj3S4z23w7wyA+PhkNkAVGDtl63OMcpZqB72sDjmU8GagHOIbkFjC6wYY1ldoqJFmwrE3o=; Proxy: null), S3 Extended Request ID: cMry5jj3S4z23w7wyA+PhkNkAVGDtl63OMcpZqB72sDjmU8GagHOIbkFjC6wYY1ldoqJFmwrE3o=
          at org.nuxeo.ecm.blob.s3.S3BlobStore.writeBlobProperties(S3BlobStore.java:859) ~[nuxeo-core-binarymanager-s3-2021.61-SNAPSHOT.jar:?]
          at org.nuxeo.ecm.core.blob.CachingBlobStore.writeBlobProperties(CachingBlobStore.java:239) ~[nuxeo-core-api-2021.61-SNAPSHOT.jar:?]

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: