Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 0.4.0

Bug #19380 No $object->name
Submitted: 2012-04-11 13:16 UTC
From: phpmikey Assigned:
Status: Open Package: Services_Amazon_S3 (version 0.3.5)
PHP Version: 5.2.16 OS: CentOS
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 50 - 47 = ?

 
 [2012-04-11 13:16 UTC] phpmikey (Mike Php)
Description: ------------ $object->name does not exist. Closest thing is ->key Test script: --------------- $s3 = Services_Amazon_S3::getAccount($key, $secret); $bucket = $s3->getBucket($bucket); echo '<ul>'; foreach ($bucket->getObjects() as $object) { echo "<li>{$object->name}</li>"; } echo '</ul>'; Expected result: ---------------- Only file name from ->key Actual result: -------------- !$object->name

Comments