DDC-405: Confusing example for Many-to-Many Bidirectional in association mapping documentation - uses $phonenumbers when you mean to use $groups. Copy-paste oops. #501

Closed
opened 2026-01-22 12:40:37 +01:00 by admin · 2 comments
Owner

Originally created by @doctrinebot on GitHub (Mar 10, 2010).

Jira issue originally created by user grekker:

http://www.doctrine-project.org/documentation/manual/2_0/en/association-mapping#many-to-many,-bidirectional

Likely a copy paste error from doing the other examples, there is a $phonenumbers variable being used to describe a many to many relationships between users and groups. It should be $groups in the User example, and the Groups example should have mappedBy="groups".

Originally created by @doctrinebot on GitHub (Mar 10, 2010). Jira issue originally created by user grekker: http://www.doctrine-project.org/documentation/manual/2_0/en/association-mapping#many-to-many,-bidirectional Likely a copy paste error from doing the other examples, there is a $phonenumbers variable being used to describe a many to many relationships between users and groups. It should be $groups in the User example, and the Groups example should have mappedBy="groups".
admin added the Improvement label 2026-01-22 12:40:37 +01:00
admin closed this issue 2026-01-22 12:40:37 +01:00
Author
Owner

@doctrinebot commented on GitHub (Mar 11, 2010):

Comment created by @guilhermeblanco:

In r7328 this issue was fixed.

As soon as the documentation cache expires, docs will be updated (I think it's once a day).
Thanks for the tip!

Cheers,

@doctrinebot commented on GitHub (Mar 11, 2010): Comment created by @guilhermeblanco: In r7328 this issue was fixed. As soon as the documentation cache expires, docs will be updated (I think it's once a day). Thanks for the tip! Cheers,
Author
Owner

@doctrinebot commented on GitHub (Mar 11, 2010):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Mar 11, 2010): Issue was closed with resolution "Fixed"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#501