2015-09-15 23:12:35 |
Darryl Tam |
bug |
|
|
added bug |
2015-09-15 23:34:52 |
Darryl Tam |
summary |
Object copy returns incorrect LastModified timestamp in XML response |
Object copy XML response inconsistent with S3 behaviour |
|
2015-09-15 23:38:08 |
Darryl Tam |
description |
When performing a successful object copy, the LastModified tag in the XML response contains the last modified timestamp of the source object instead of the last modified timestamp of the newly copied object. |
When performing a successful object copy, the LastModified tag in the XML response contains the last modified timestamp of the source object instead of the last modified timestamp of the newly copied object. S3 also appears to add ".000Z" to the end of each LastModified timestamp.
Also, the ETag tag uses quotes (") around the Etag, but S3 returns """ instead. Note that this behaviour is not documented on the http://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectCOPY.html
Sample S3 response:
<CopyObjectResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><LastModified>2015-09-15T23:22:12.000Z</LastModified><ETag>"60b725f10c9536c70d912365dfe8191b3"</ETag></CopyObjectResult> |
|
2015-09-15 23:49:37 |
Darryl Tam |
swift3: assignee |
|
Darryl Tam (dtam) |
|
2015-09-16 00:11:37 |
OpenStack Infra |
swift3: status |
New |
In Progress |
|
2015-09-16 21:23:24 |
Darryl Tam |
description |
When performing a successful object copy, the LastModified tag in the XML response contains the last modified timestamp of the source object instead of the last modified timestamp of the newly copied object. S3 also appears to add ".000Z" to the end of each LastModified timestamp.
Also, the ETag tag uses quotes (") around the Etag, but S3 returns """ instead. Note that this behaviour is not documented on the http://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectCOPY.html
Sample S3 response:
<CopyObjectResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><LastModified>2015-09-15T23:22:12.000Z</LastModified><ETag>"60b725f10c9536c70d912365dfe8191b3"</ETag></CopyObjectResult> |
When performing a successful object copy, the LastModified tag in the XML response contains the last modified timestamp of the source object instead of the last modified timestamp of the newly copied object. S3 also appears to add ".000Z" to the end of each LastModified timestamp.
Sample S3 response:
<CopyObjectResult xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><LastModified>2015-09-15T23:22:12.000Z</LastModified><ETag>"60b725f10c9536c70d912365dfe8191b3"</ETag></CopyObjectResult> |
|
2015-09-16 21:23:48 |
Darryl Tam |
summary |
Object copy XML response inconsistent with S3 behaviour |
Object copy XML LastModified tag inconsistent with S3 |
|
2015-11-06 08:29:46 |
OpenStack Infra |
swift3: status |
In Progress |
Fix Committed |
|