Bug #11494
rgw: multipart list part response returns incorrect field
0%
Description
Should return ListPartsResult, and not ListMultipartUploadResult
Related issues
Associated revisions
rgw: fix ListParts response
The response XML element name should be 'ListPartsResult'.
Fixes: #11494
Signed-off-by: Henry Chang <henry@bigtera.com>
rgw: fix ListParts response
The response XML element name should be 'ListPartsResult'.
Fixes: #11494
Signed-off-by: Henry Chang <henry@bigtera.com>
(cherry picked from commit caa9f0e461f1eed526fc43ee74699a7243aef9b8)
History
#1 Updated by Lenz Grimmer over 8 years ago
Good timing, I was just about to report this :)
We use multi-part uploads in our application and stumbled over this one, too. For now, our code has now been changed to handle both return parameters, but it would of course be appropriate to use the "official" response (see http://docs.aws.amazon.com/AmazonS3/latest/API/mpUploadListParts.html).
By the way, while looking at the Ceph API docs at http://ceph.com/docs/master/radosgw/s3/objectops/#list-multipart-upload-parts, it claims that it returns "InitiatedMultipartUploadsResult", but that seems to be a documentation bug?
#2 Updated by Lenz Grimmer over 8 years ago
Seems like a fix for this is scheduled for v9.0.1?
https://github.com/ceph/ceph/commit/0936aec655802da2127c38c71938b48872f52f70
#3 Updated by Yehuda Sadeh about 8 years ago
- Status changed from New to Pending Backport
- Regression set to No
#4 Updated by Nathan Cutler about 8 years ago
#5 Updated by Nathan Cutler about 8 years ago
- Status changed from Pending Backport to Resolved
#6 Updated by Lenz Grimmer almost 8 years ago
FYI, I filed bug #14003 for the documentation update.
#7 Updated by Nathan Cutler almost 8 years ago
- Related to Documentation #14003: Incorrect name of the "List Multipart Upload Parts" Response Entities added