ZF-11114: Zend_Cloud_StorageService_Adapter_S3 method copyItem not implemented
Description
The code if copyItem metod does not work at all. If needed, I can submit the correct implementation - it should be very easy, only forward the call to $this->_s3->copyObject method.
copyObject method could also be used as a workaround for storeMetadata.
Comments
Posted by Adam Lundrigan (adamlundrigan) on 2011-11-08T18:14:02.000+0000
The issue here appears to be that {{Zend_Cloud_StorageService_Adapter_S3::copyItem}} does fetch+store operations instead of using the available method {{Zend_Service_Amazon_S3::copyObject}} to signal Amazon S3 to perform the copy. There is a TODO to this effect in the code:
@[~matthew], [~zimuel]: Is this on the development radar for ZFv1's {{Zend_Cloud}}? Is it as simple as the OP suggests (just call {{$this->_s3->copyObject(...)}})?
Posted by Adam Lundrigan (adamlundrigan) on 2012-02-24T00:07:48.000+0000
Here is a patch implementing the change:
Posted by Adam Lundrigan (adamlundrigan) on 2012-05-05T02:03:25.000+0000
Fixed in trunk (1.12.0): r24752 Fixed in release-1.11 (1.11.12): r24753
Posted by Adam Lundrigan (adamlundrigan) on 2012-05-05T02:08:19.000+0000
ZF2 PR: https://github.com/zendframework/zf2/pull/1141