mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
DDC-3136: DQL JOIN association return null #3889
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @doctrinebot on GitHub (May 24, 2014).
Originally assigned to: @beberlei on GitHub.
Jira issue originally created by user raphpar:
Hello,
I observe a strange behavior of a query result done by DQL (only tested DQL in fact). In the last entry of my result, the joined entity are returned to null
My tables are:
So when I do a simple request like this:
The result is looks like this
The entity3 of the last result is never joined and set to null (it's not possible because of the JOIN no ?)
I spent to days on this and I observed that when I add a property in my entity 2 like this
The result is ok
Is it normal ? Is this a kwon issue ?
Thanks for your help
Raphael P.