Affects Version/s: Git Master
Fix Version/s: None
Security Level: All
Environment:Linux, Apache, mysql
Hello developers of Doctrine. I appreiate your work on a such complicated project. So seems I'found a bug in Doctrine in generating SQL
I had written this issue on Symfony forum but noone is answering, so maybe I've found the bug of Doctrine or FOSUserBundle
I'm using Symfony 2.0.12, so I've installed as git submodules FOSUserBundle, created User Entity with one-to-one relationship with Company Entity, here goes the code:
and piece of Company Entity:
When creating fixtures I'm using such method (all references are set, and I have checked for foreign keys in DB - everything is fine)
When I'm trying to login I see such error:
The whole SELECT statement that I found in logs sounds like this one:
Does anyone know why it's not t0 in join condition but t46?
If needed I'll show my deps.lock, maybe such situation was already fixed, but I was googling for answer for several days - and nothing.
Thanks in advance