symfony/symfony — Issue #3395: Symfony2 fails to manage multiple connections and relationships between different bundles
Author: sibok
Created: 2012-02-18 12:27:11+00:00
State: open

Here you can see how Symfony2 is not able to manage different connections, properly. I hope i did any mistake, if so tell me please. :)

I've prepared a tar.gz which once uncompressed and after running ./bin/vendors install fails to load the fixtures through php scripts/createAll.php. In the tar.gz there are 2 bundles using 2 different connections everyone with its own database.

I think Symfony2 fails to manage them properly. If you take a look at scripts/createAll.php will see how symfony fails to load both fixtures, but if you remove a random fixture (it doesn't matter Var_.php or Foo_.php everything runs fine, which seems to me that symfony is failing to manage entities correctly.)

LINK: http://www.2shared.com/file/2u4GhFVX/SymfonyTestCasetar.html

Thanks in advanced! :)

PD: Later i'm going to upload an example about how i can't use relationships between different entities orm different bundles.