Affects Version/s: 2.1.1
Fix Version/s: 2.2
Security Level: All
Environment:Symfony2, Doctrine 2.1.1 (also bug present on 2.1.3-dev - latest revison of 2.1.x branch)
event_area.area.id=area.id (one area has many event_area's)
event.author_id=user.id (one user has many events)
area - STI: District/City/Region/Country/etc.
This DQL caused an error "Cannot use object of type District as array in ORM\Internal\Hydration\ObjectHydrator.php on line 314". When I'm removing `ap` friom fetching - it works. Mapping are correct - there are many other places where it works correctly.