[PR #9233] Support MEMBER OF on entities with association IDs #11449

Open
opened 2026-01-22 16:10:49 +01:00 by admin · 0 comments
Owner

Original Pull Request: https://github.com/doctrine/orm/pull/9233

State: closed
Merged: No


Currently, SqlWalker assumes that entities in a MEMBER OF have a regular field as join column. When an association is used as join, an Undefined index is thrown because $class->fieldNames['association join column name'] does not exist. This commit fixes this by looking up the column name of the relevant join column instead.

**Original Pull Request:** https://github.com/doctrine/orm/pull/9233 **State:** closed **Merged:** No --- Currently, SqlWalker assumes that entities in a MEMBER OF have a regular field as join column. When an association is used as join, an Undefined index is thrown because $class->fieldNames['association join column name'] does not exist. This commit fixes this by looking up the column name of the relevant join column instead.
admin added the pull-request label 2026-01-22 16:10:49 +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#11449