Issues

ZF-12508: Bootstrap param is missing in Zend_Controller_Front

Issue Type: Bug Created: 2013-01-16T11:43:01.000+0000 Last Updated: 2013-04-05T16:07:03.000+0000 Status: Closed Fix version(s): Reporter: Angel K (po_taka) Assignee: None Tags: - Zend_Test_PHPUnit

Related issues: - ZF-8193

Attachments:

Description

Module: Zend_Test_PHPUnit

<pre class="highlight">
 public function setUp()
    {
        $this->bootstrap = new \Zend_Application(APPLICATION_ENV, APPLICATION_PATH . '/configs/application.xml');
        parent::setUp();
    }

Then

<pre class="highlight">
\Zend_Controller_Front::getInstance()->getParam('bootstrap') is null

Comments

Posted by Frank Brückner (frosch) on 2013-01-16T14:24:22.000+0000

@Angel Please provide a small but working example. (Maybe on Github as Gist) This would help to reproduce the problem.

Thanks a lot!

Posted by Angel K (po_taka) on 2013-01-21T12:32:55.000+0000

Yes, i can! Here is example: https://github.com/angelk/zf1unitTestBug/…

Posted by Ralph Schindler (ralph) on 2013-04-05T16:07:03.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: https://github.com/zendframework/zf1/issues/48

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