[PR #635] [CLOSED] Functional test for addManyToOne database column mapping #8480

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

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/635
Author: @TomHAnderson
Created: 3/27/2013
Status: Closed

Base: masterHead: addManyToOne


📝 Commits (3)

  • 8723e13 Function test for addManyToOne database column mapping
  • 1e863e5 Renamed files to Jira bug number
  • 92dbe4c Removed NotEquals test

📊 Changes

3 files changed (+78 additions, -0 deletions)

View changed files

tests/Doctrine/Tests/Models/DDC2376/Reference.php (+22 -0)
tests/Doctrine/Tests/Models/DDC2376/User.php (+26 -0)
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC2376.php (+30 -0)

📄 Description

When the PHPDriver is used to create a ManyToOne relationship with a table which has a primary key other than id the primary key is not associated correctly.


🔄 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/635 **Author:** [@TomHAnderson](https://github.com/TomHAnderson) **Created:** 3/27/2013 **Status:** ❌ Closed **Base:** `master` ← **Head:** `addManyToOne` --- ### 📝 Commits (3) - [`8723e13`](https://github.com/doctrine/orm/commit/8723e13de4fdbcf44207f8d2daf92ea56482dbb7) Function test for addManyToOne database column mapping - [`1e863e5`](https://github.com/doctrine/orm/commit/1e863e516b8786d610ffb9064f87ca768d1258c6) Renamed files to Jira bug number - [`92dbe4c`](https://github.com/doctrine/orm/commit/92dbe4c36eebbc4730ad7090188f58f631acb265) Removed NotEquals test ### 📊 Changes **3 files changed** (+78 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `tests/Doctrine/Tests/Models/DDC2376/Reference.php` (+22 -0) ➕ `tests/Doctrine/Tests/Models/DDC2376/User.php` (+26 -0) ➕ `tests/Doctrine/Tests/ORM/Functional/Ticket/DDC2376.php` (+30 -0) </details> ### 📄 Description When the PHPDriver is used to create a ManyToOne relationship with a table which has a primary key other than id the primary key is not associated correctly. --- <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:00:07 +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#8480