ZF2-525: ZendService_Amazon: AbstractEc2: setRegion

Issue Type: Bug Created: 2012-09-06T12:39:53.000+0000 Last Updated: 2012-10-08T20:14:40.000+0000 Status: Closed Fix version(s): Reporter: Ludwig Ruderstaller (rufinus) Assignee: Matthew Weier O'Phinney (matthew) Tags: - amazon

  • zendservice

Related issues: Attachments:


I hope this is the right place to report this bug, couldnt find a issue tracker for ZendService\Amazon.

AbstractEc2::setRegion() writes to $_defaultRegion. But $_defaultRegion is only used in the Constructor if you dont provide an region. In all other cases $_region is used.

So if you have an instance of eg ZendService\Amazon\Ec2\Instance and use setRegion its not used at all.

Fix: Line 104 in AbstractEc2 change to: self::$_region = $region;


Posted by Ralph Schindler (ralph) on 2012-10-08T20:14:40.000+0000

This issue has been closed on Jira and moved to GitHub for issue tracking. To continue following the resolution of this issues, please visit:

Have you found an issue?

See the Overview section for more details.


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

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