Hello!

I realize this has already been discussed (and marked fixed) in several
places (http://framework.zend.com/issues/browse/ZF-6545,
http://n4.nabble.com/Adding-Zend-Application-Module-Bootstrap-file-causes-application-to-fail-td660263.html#a660267)
…but even though I'm running the latest codebase (r20396 of the standard
trunk) and have confirmed that it includes the referenced fix (removing
parent::__construct() from the bootstrap's constructor method), I'm still
seeing the problem.

The problem is simply that whenever I register Zend_Application's modules
resource (e.g., by including "resources.modules[] = " in my config file) and
create a bootstrap class in one of my modules directories, all of the
resource methods from my global bootstrap are being called a second time
when the module's bootstrap is run.

I wouldn't have noticed it at all if it weren't for the fact that one of my
resource initializers depends on the value of $this->getApplication() …when
it's run the first time, it returns the parent Zend_Application object, but
when it's run the second time, it returns the bootstrap object instead.
 This raised an error, which prompted some research, which led to the
conclusion that all my global initializers are being run twice.

Is anyone else still running into this problem with the latest code base?
 If not, what further information can I provide to help debug the problem?

Thanks!
Adam

Reply via email to