You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When querying entities of class A, B, D or E, everything works fine.
When querying entities of class C however, Doctrine 2.6.0 returns null instead of the entity object.
I have the following entity hierarchy:
Abstract classes are in parentheses.
When querying entities of class
A
,B
,D
orE
, everything works fine.When querying entities of class
C
however, Doctrine2.6.0
returnsnull
instead of the entity object.I created a test case here:
https://github.com/BenMorel/doctrine-abstract-entity-bug
The script creates 3 concrete entities of classes
B
,D
andE
, then queries every class of the hierarchy.Doctrine
2.5.14
returns the correct result:Doctrine
2.6.0
, however, fails here:As you can see, querying entities of class
Bug\C
returnsNULL
andNULL
, instead ofBug\D
andBug\E
as expected.The text was updated successfully, but these errors were encountered: