Skip to content

Conversation

@leftybournes
Copy link
Contributor

DeleteObjects currently fails when the request includes all the information returned by ListObjects. Send only the necessary information in the request. Note: 'Size' and 'DateModified' is now only supported by directory buckets.

Checklist

@leftybournes leftybournes added this to the Nextcloud 33 milestone Nov 11, 2025
@leftybournes leftybournes requested a review from a team as a code owner November 11, 2025 05:29
@leftybournes leftybournes added bug 3. to review Waiting for reviews labels Nov 11, 2025
@leftybournes leftybournes requested review from CarlSchwan, come-nc, icewind1991 and salmart-dev and removed request for a team November 11, 2025 05:29
@leftybournes leftybournes force-pushed the leftybournes/fix/s3_delete_folders branch from dc1b482 to eb44a50 Compare November 11, 2025 05:31
@leftybournes
Copy link
Contributor Author

/backport to stable32

@leftybournes
Copy link
Contributor Author

Backport to stable31 is not necessary as the issue only occurs with stable32, which uses a more recent aws sdk version causing the issue.

DeleteObjects currently fails when the request includes all the
information returned by ListObjects. Send only the necessary
information in the request. Note: 'Size' and 'DateModified' is now
only supported by directory buckets.

Signed-off-by: Kent Delante <[email protected]>
@leftybournes leftybournes force-pushed the leftybournes/fix/s3_delete_folders branch from 08d1990 to b57db10 Compare November 18, 2025 04:07
@sorbaugh sorbaugh disabled auto-merge November 18, 2025 08:47
@sorbaugh sorbaugh merged commit ba9fe48 into master Nov 18, 2025
286 of 306 checks passed
@sorbaugh sorbaugh deleted the leftybournes/fix/s3_delete_folders branch November 18, 2025 08:48
@sorbaugh
Copy link
Contributor

/backport to stable32

@backportbot
Copy link

backportbot bot commented Nov 18, 2025

The backport to stable32 failed. Please do this backport manually.

# Switch to the target branch and update it
git checkout stable32
git pull origin stable32

# Create the new backport branch
git checkout -b backport/56366/stable32

# Cherry pick the change from the commit sha1 of the change against the default branch
# This might cause conflicts, resolve them
git cherry-pick b57db108

# Push the cherry pick commit to the remote repository and open a pull request
git push origin backport/56366/stable32

Error: Failed to create pull request: Validation Failed: {"resource":"PullRequest","code":"custom","message":"A pull request already exists for nextcloud:backport/56366/stable32."} - https://docs.github.com/rest/pulls/pulls#create-a-pull-request


Learn more about backports at https://docs.nextcloud.com/server/stable/go.php?to=developer-backports.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Can't delete folders on external storage (S3)

5 participants