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

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

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/938
Author: @HermanPeeren
Created: 2/6/2014
Status: Merged
Merged: 2/6/2014
Merged by: @Ocramius

Base: masterHead: master


📝 Commits (2)

  • 9c19d1e Update working-with-associations.rst
  • 128e839 Update working-with-associations.rst

📊 Changes

1 file changed (+2 additions, -0 deletions)

View changed files

📝 docs/en/reference/working-with-associations.rst (+2 -0)

📄 Description

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


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/doctrine/orm/pull/938 **Author:** [@HermanPeeren](https://github.com/HermanPeeren) **Created:** 2/6/2014 **Status:** ✅ Merged **Merged:** 2/6/2014 **Merged by:** [@Ocramius](https://github.com/Ocramius) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (2) - [`9c19d1e`](https://github.com/doctrine/orm/commit/9c19d1e5c4611ce744e522bb71647b2c42951bb8) Update working-with-associations.rst - [`128e839`](https://github.com/doctrine/orm/commit/128e83909bc2b58d070a22a21235fc6acd6571d8) Update working-with-associations.rst ### 📊 Changes **1 file changed** (+2 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `docs/en/reference/working-with-associations.rst` (+2 -0) </details> ### 📄 Description 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 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
admin added the pull-request label 2026-01-22 16:02:22 +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#8930