ZF-6613: Module-Bootstraps receive application options

Description

Tested Version is current Trunk Revision 15543

All Modul-Boostraps receive the options set directly to the application-bootstrap.

class Test_Bootstrap extends Zend_Application_Module_Bootstrap {
    protected function _initOptionDump () {
        var_dump ($this->getOptions());
    }
}

output

array
  'bootstrap' => 
    array
      'class' => string 'Bootstrap' (length=9)
      'path' => string '/path/to/Bootstrap.php' (length=57)
  'resources' => 
    array
      'frontController' => 
        array
          'prefixDefaultModule' => string '1' (length=1)
          'throwExceptions' => string '1' (length=1)
          'moduleDirectory' => string 'modules' (length=7)
      'view' => 
        array
          'strictVars' => string '1' (length=1)
          'encoding' => string 'utf-8' (length=5)
      'layout' => 
        array
          'layoutPath' => string 'views/scripts' (length=13)
          'mvcSuccessfulActionOnly' => string '1' (length=1)
      'modules' => string '' (length=0)
      'db' => 
        array
          'adapter' => string 'pdo_sqlite' (length=10)
          'isDefaultTableAdapter' => string '1' (length=1)
          'params' => 
            array
              ...
  'test' => 
    array
      'test' => string 'test' (length=4)
  'includepaths' => 
    array
      'zend' => string '/path/to/Zend' (length=39)
  'test' => string 'test' (length=4)

With XML-Config

Bootstrap11modules1utf-8views/scripts1pdo_sqlite1main.sqlitetest

As you can see the String "test" for key "test" is correctly assign, but also all others, which should not be in there.

Comments

This was fixed with changes for ZF-6545.