- While testing the above configuration, I found an interesting bug. The database is now solely configured through the DIC. If the first request does not go through DatabaseBackend but e.g. db_query() then the Database never receives the necessary connection information and the site explodes. Discussed with Crell and we agreed this can be solved in a separate issue as the Database class should be refactored a bit anyway to make it easier to embed it into the DIC.
There are possible ways for this to work. One might be that Database just becomes the factory method that initially creates the connection object that then lives in the DIC. Not sure if that works, I'll try.
FAILED: [[SimpleTest]]: [MySQL] 30,586 pass(es), 1,447 fail(s), and 537 exception(s).
[ View ]
FAILED: [[SimpleTest]]: [MySQL] 32,059 pass(es), 995 fail(s), and 301 exception(s).
[ View ]