OneToMany::indexBy
no longer works when refering a database column
#11097
Labels
OneToMany::indexBy
no longer works when refering a database column
#11097
BC Break Report
Summary
Indexing by database column worked, now it doesn't.
Better look at previous/current behavior.
Previous behavior
This worked, indexing
Product::$translations
bylanguage_id
(Language::$id
).Current behavior
I get a warning and an error:
How to reproduce
I've created a simple symfony project: https://github.com/aprat84/doctrine-2.17-bug
The text was updated successfully, but these errors were encountered: