[PR #938] Missing join-tables added in example #8935

Closed
opened 2026-01-22 16:02:23 +01:00 by admin · 0 comments
Owner

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

State: closed
Merged: Yes


There are 2 many-to-may associations between the users and comments. Both use another join-table. The join-tables user_favorite_comments and user_read_comments must be specified. Otherwise the default "user_comment" is taken twice, resulting in an error.

See https://groups.google.com/forum/#!topic/doctrine-user/Kti36_n6490 and https://groups.google.com/forum/#!topic/doctrine-user/TYwafhgYiSU

**Original Pull Request:** https://github.com/doctrine/orm/pull/938 **State:** closed **Merged:** Yes --- There are 2 many-to-may associations between the users and comments. Both use another join-table. The join-tables user_favorite_comments and user_read_comments must be specified. Otherwise the default "user_comment" is taken twice, resulting in an error. See https://groups.google.com/forum/#!topic/doctrine-user/Kti36_n6490 and https://groups.google.com/forum/#!topic/doctrine-user/TYwafhgYiSU
admin added the pull-request label 2026-01-22 16:02:23 +01:00
admin closed this issue 2026-01-22 16:02:23 +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#8935