I bumped into a strange behavior in Alpakka S3 when using S3.listBucketAndCommonPrefixes with s3mock. According to https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjectsV2.html, CommonPrefix should be repeated for each common prefix, which is currently not the case in s3mock.
I bumped into a strange behavior in Alpakka S3 when using
S3.listBucketAndCommonPrefixes
with s3mock. According to https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjectsV2.html,CommonPrefix
should be repeated for each common prefix, which is currently not the case in s3mock.The following is copied from https://docs.aws.amazon.com/AmazonS3/latest/API/API_ListObjectsV2.html:
Notice multiple occurrences of
CommonPrefix
Prefix
andDelimiter
weren't serialized to XML properly either. This is now fixed.