DDC-3195: indexBy implementation on containsKey of PersistentCollection in EXTRA LAZY mode uses property name as column name instead of column name #3891

Open
opened 2026-01-22 14:30:43 +01:00 by admin · 0 comments
Owner

Originally created by @doctrinebot on GitHub (May 26, 2014).

Originally assigned to: @beberlei on GitHub.

Jira issue originally created by user josdewitte:

indexBy implementation on containsKey (and possibly other EXTRA LAZY implemented methods) of PersistentCollection in EXTRA LAZY mode uses property name as column name instead of column name for OneToMany collections

For example property = fieldName, column name field_name.
Set indexBy on OneToMany annotation to fieldName (as it should be ) and it tries to use fieldName in backend instead of field_name

Originally created by @doctrinebot on GitHub (May 26, 2014). Originally assigned to: @beberlei on GitHub. Jira issue originally created by user josdewitte: indexBy implementation on containsKey (and possibly other EXTRA LAZY implemented methods) of PersistentCollection in EXTRA LAZY mode uses property name as column name instead of column name for OneToMany collections For example property = fieldName, column name field_name. Set indexBy on OneToMany annotation to fieldName (as it should be ) and it tries to use fieldName in backend instead of field_name
admin added the Bug label 2026-01-22 14:30:43 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#3891