ZF-11889: Zend_Cloud_StorageService_Adapter_S3::listItems() only returns maximum of 1000 filepaths (in wrong format)

Issue Type: Bug Created: 2011-11-15T13:21:27.000+0000 Last Updated: 2011-11-15T15:20:07.000+0000 Status: Open Fix version(s): Reporter: David JM Emmett (davidjmemmett) Assignee: Enrico Zimuel (zimuel) Tags: -

Related issues: Attachments:


It is only possible to retrieve 1000 filepaths using Zend_Cloud_StorageService_Adapter_S3::listItems(), then the paths are returned in a different format to Zend_Cloud_StorageService_Adapter_FileSystem::listItems().

Zend_Cloud_StorageService_Adapter_FileSystem::listItems() returns an array of paths relative to it's first argument whereas Zend_Cloud_StorageService_Adapter_S3::listItems() returns an array of absolute paths relative to the root of the FS.

Could we ensure that the filepaths returned are in the same (relative) format?


Posted by David JM Emmett (davidjmemmett) on 2011-11-15T13:24:36.000+0000

Not sure if this should be a separate issue or not, but the path passed into Zend_Cloud_StorageService_Adapter_S3::listItems() is also ignored. It should set the 'prefix' option for Zend_Service_Amazon_S3::getObjectsByBucket().

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.