Issues

ZF-11548: BC break in Zend_Application_Resource_Modules

Issue Type: Bug Created: 2011-07-12T10:40:31.000+0000 Last Updated: 2011-07-12T19:42:34.000+0000 Status: Resolved Fix version(s): - 1.11.9 (14/Jul/11)

Reporter: Michiel Thalen (chielsen) Assignee: Matthew Weier O'Phinney (matthew) Tags: - Zend_Application_Resource

Related issues: Attachments: - ZF-11548.patch

Description

The init now returns a real array instead of an arrayobject. This can break compatibilty (as it did with my app). The problem is Zend_Application_Resource_Modules::$_bootstraps

The following does not work any more.

<pre class="highlight">
$bootstrap->modules->admin

//It's now
$bootstrap->modules['admin']

Comments

Posted by Matthew Weier O'Phinney (matthew) on 2011-07-12T19:42:34.000+0000

Fixed in trunk and 1.11 release branch. A test was added to ensure that the bootstraps are stored in an ArrayObject.

Have you found an issue?

See the Overview section for more details.

Copyright

© 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.

Contacts