Ok, I've found what is causing this problem. The service for the connections
with this alias: "doctrine.dbal.%s_connection" are now defined using
$driverDef->setPublic( false ); . Removing this line the problem is fixed.
What I don't know is exactly what does that method and why is needed. I
can't find anything on the api (I looked at
http://api.symfony-reloaded.org/master/index.html in the class
Symfony\Component\DependencyInjection\Definition) or in the docs of the DIC
and I didn't work that much with the dependency injection container. It's
something about visibility of services according to the text of the change
in
https://github.com/fabpot/symfony/commit/da5475ec428102c90067c284a8995a87f91a8013
 .

Does "visibility" means that the services marked as "not public" can't be
get from the container with "$container->get( $serviceID )" ? if that's so,
do the connections need to be private now?



Thanks.

On Mon, Jan 10, 2011 at 4:10 PM, Dator <[email protected]> wrote:

> Same here,
>
> I tried with the short method but i always get the error :s
>
> It's driving me crazy ^^
>
> --
> 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 developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]<symfony-devs%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/symfony-devs?hl=en
>

-- 
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 developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en

Reply via email to