When calling `getArrayResult()` on a query, the result is not being hydrated correctly. Where there should be multiple entities appearing (for a OneToMany association), only the first entity appears in the array.
git bisect suggests this was introduced in https://github.com/doctrine/doctrine2/commit/08e38858ed36b13b2655f2971308361714798596
I've attached a test case with a simplified schema that fails on the above commit, but passes on the commit immediately previous.
If you need any further info, please let me know.
EDIT: PR for failing test case: https://github.com/doctrine/doctrine2/pull/827