Can you provide a form configuration that demonstrates this? We did a
number of changes prior to 2.2 that should have alleviated interop issues
with DI, and I'm curious if we missed an edge case.

On Saturday, June 1, 2013, Martin-P wrote:

> In library/Zend/Form/FormAbstractFactory.php:
>
> > +class FormAbstractFactory implements AbstractFactoryInterface
> > +{
> > +    /**
> > +     * @var string Top-level configuration key indicating forms configuration
> > +     */
> > +    protected $configKey     = 'form_manager';
> > +
> > +    /**
> > +     * @var Factory Form factory used to create forms
> > +     */
> > +    protected $factory;
> > +
> > +    /**
> > +     * @var string Service prefix necessary for abstract factory to trigger
> > +     */
> > +    protected $servicePrefix = 'Form\\';
>
> I finally figured out what caused the problem. It was a config file
> config/autoload/override.local.php with some test config in it. Only this
> array in it is enough to make the form_elements config key useless:
>
> return array(
>     'di' => array(
>     ),);
>
> It took me many hours to find out what huge problems this small file
> caused. Is this intended behaviour? If not, I will open an issue for this.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/zendframework/zf2/pull/4358/files#r4490495>
> .
>


-- 
Matthew Weier O'Phinney
matthew@weierophinney.net
http://mwop.net/