Details
-
Bug
-
Resolution: Fixed
-
High
-
2.5.6
-
None
-
In a Multi SiteAccesses Multi Databases installation
Description
This ticket is exactly the same as for https://support.ez.no/ticket/view/7765
The service DoctrineGateway is using autowiring to inject the Doctrine DBAL connection and the result is that is ALWAYS the default one.
I am attaching the patch here.
Also, I wonder if eZ is tested in the multi db scenario. I guess not, I think that could be great to do that.
The scenario would be to remove the db of the default connection and see.
Also, it might be good to review all those kind of injections.
Thank you!