Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix a bug where tags were being lost when creating buckets in us-east-1 #6492

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
L-Applin merged 2 commits into master from olapplin/s3-tags
Oct 27, 2025

Conversation

@L-Applin
Copy link
Contributor

@L-Applin L-Applin commented Oct 21, 2025

Tags are being lost with create bucket requests for us-east-1 when location constraint is not manually specified.

Motivation and Context

Tags were lost because the CreateBucketInterceptor sets the whole body of the request to null for us-east-1 region when location constraint is not specified. CreateBucketInterceptor sets it to null since us-east-1 requires no location constraint.

Modifications

Do not set full body to null of Tags are specified, instead copy the tags and only set locationConstraint to null.

Testing

Added unit test

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

@L-Applin L-Applin requested a review from a team as a code owner October 21, 2025 16:05
Copy link

@L-Applin L-Applin added this pull request to the merge queue Oct 27, 2025
Merged via the queue into master with commit 2307338 Oct 27, 2025
48 of 49 checks passed
Copy link

This pull request has been closed and the conversation has been locked. Comments on closed PRs are hard for our team to see. If you need more assistance, please open a new issue that references this one.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 27, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

@davidh44 davidh44 davidh44 approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /