I'm suspecting a bug with this configuration entry. I cannot figure
out the problem, but with this config it's working:

doctrine:
    dbal:
       driver:   %database_driver%
        host:     %database_host%
        dbname:   %database_name%
        user:     %database_user%
        password: %database_password%
        options:
            key:   dbname
            value: cool

Note the "key" and "value" keys: the configuration builder is only
able to parse this configuration...

Does someone know what's wrong here?

Thanks,

On Apr 28, 12:16 pm, noel guilbert <noelguilb...@gmail.com> wrote:
> Hi,
>
> I'm trying to add some connections options in dbal connections, and I
> have this error:
>
> The attribute "key" must be set for path
> "doctrine.dbal.connections.default.driverOptions"
>
> Here is my configuration:
>
> # Doctrine Configuration
> doctrine:
>     dbal:
>         driver:   %database_driver%
>         host:     %database_host%
>         dbname:   %database_name%
>         user:     %database_user%
>         password: %database_password%
>         options:
>             foo: bar
>
> Any ideas?
>
> Thanks
>
> --
> Noël GUILBERThttp://www.noelguilbert.com/
> Twitter :http://twitter.com/noelguilbert

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to