versitygw
versitygw copied to clipboard
[Bug] - Attempt to set versioning to Suspended results in ObjectLockConfigurationNotFound error
Describe the bug
When attempting to change the versioning Status
value to Suspended
, the ObjectLockConfigurationNotFound
error is returned, even though versioning isn't necessarily dependent on object lock being enabled, and that setting the Status
value to Enabled
works.
To Reproduce
- Create a bucket
- Run the PutBucketVersioning command with the Status set to
Suspended
.
Expected behavior
Able to set versioning status to Suspended
, even if it has not been enabled to begin with (according to direct-to-s3 tests).
Server Version Version : v1.0.7 Build : 2d9f53a BuildTime: 2024-10-04_03:07:26PM Darwin Lukes-MacBook-Pro.local 23.4.0 Darwin Kernel Version 23.4.0: Fri Mar 15 00:12:25 PDT 2024; root:xnu-10063.101.17~1/RELEASE_ARM64_T6030 arm64