Issue Type: Bug Created: 2012-03-01T08:02:53.000+0000 Last Updated: 2012-10-08T20:15:26.000+0000 Status: Closed Fix version(s): Reporter: Giorgio Sironi (giorgiosironi) Assignee: Ralph Schindler (ralph) Tags: - Zend\Di
Related issues: Attachments:
<pre class="highlight"> return array( 'di' => array( 'instance' => array( 'Zend\Mvc\Controller\ActionController' => array( 'parameters' => array( 'broker' => 'Zend\Mvc\Controller\PluginBroker', 'montypythons' => 'holygrail' ), ) ) ) );
The 'montypythons' parameter is just ignored. I can imagine many people not being noticed of wrong parameters, that do not correspond to any setter. For example my layout was broken because the configuration was using the old parameter baseTemplate instead of the new layoutTemplate. In my opinion specifying a not existent parameter is like calling an inexistent setter: fatal error. Is this a design choice?
Posted by Frank Brückner (frosch) on 2012-03-01T11:26:57.000+0000
Code tags added.
Posted by Ralph Schindler (ralph) on 2012-10-08T20:15:26.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/zf2/issues/2458
Have you found an issue?
See the Overview section for more details.