bug: S3 integration returns nonconformant ListVersionsResult
object as per provided AmazonS3.xsd
#10801
Closed
1 task done
Labels
area: integration/aws-sdk-java
Issues related to AWS Java SDK
aws:s3
Amazon Simple Storage Service
status: in progress
Currently being worked on
type: bug
Bug report
Is there an existing issue for this?
Current Behavior
Returned
ListVersionsResult
element for bucket versions request does not conform to the expected structure provided by amazon s3.Expected Behavior
ListVersionsResult
element matches that provided by actual s3.How are you starting LocalStack?
With a docker-compose file
Steps To Reproduce
How are you starting localstack (e.g.,
bin/localstack
command, arguments, ordocker-compose.yml
)Following is fragment from docker-compose
Client commands (e.g., AWS SDK code snippet, or sequence of "awslocal" commands)
Setup the created bucket somewhat close to the awsdocs bucket provided by amazon.
Reproduction test (in java)
pom.xml
S3IntegrationTest.java
Environment
Anything else?
Only reproducable with java aws s3 sdk v1 because in v2 the API is different and no longer provides the bucket name reference on the versions summary entity. Seems to have worked as intended in 0.12.16.
Reference XSD: https://doc.s3.amazonaws.com/2006-03-01/AmazonS3.xsd
Reference bucket that provides versions: https://s3.amazonaws.com/awsdocs?versions
The text was updated successfully, but these errors were encountered: