amazonwebservices / aws-sdk-for-php

(DEPRECATED) AWS SDK for PHP - Version 1. Version 3 is the latest:
https://github.com/aws/aws-sdk-php
710 stars 254 forks source link

Bug fix for fatal error in AmazonS3::get_object_list #43

Closed aaronbski closed 11 years ago

aaronbski commented 12 years ago

AmazonS3::list_objects sometimes returns a CFResponse object where the body property is a string instead of a CFSimpleXML object, which causes a fatal error ("Call to a member function query() on a non-object") in get_object_list. The documentation for RequestCore does specify that body can be an XML object or a string.

jeremeamia commented 11 years ago

I have added this fix in version 1.6.1 of the SDK. Since we do not accept pull requests directly to this project, I have added you to the contributors document. Thanks!