[PR #159] [CLOSED] Fix for DDC-1435 #7791

Open
opened 2026-01-22 15:56:54 +01:00 by admin · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/159
Author: @phekmat
Created: 10/18/2011
Status: Closed

Base: masterHead: master


📝 Commits (1)

📊 Changes

3 files changed (+163 additions, -94 deletions)

View changed files

📝 lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php (+41 -36)
tests/Doctrine/Tests/Models/CMS/CmsArticleTag.php (+43 -0)
📝 tests/Doctrine/Tests/ORM/Query/SelectSqlGenerationTest.php (+79 -58)

📄 Description

Fix ClassMetadataInfo->getQuotedColumnName to correctly handle entity
FK as PK by looking for the field in association mappings in addition
to field mappings


🔄 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/159 **Author:** [@phekmat](https://github.com/phekmat) **Created:** 10/18/2011 **Status:** ❌ Closed **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`6702d13`](https://github.com/doctrine/orm/commit/6702d13872c75244382b9c9db0c00047b992c233) Fix for DDC-1435 ### 📊 Changes **3 files changed** (+163 additions, -94 deletions) <details> <summary>View changed files</summary> 📝 `lib/Doctrine/ORM/Mapping/ClassMetadataInfo.php` (+41 -36) ➕ `tests/Doctrine/Tests/Models/CMS/CmsArticleTag.php` (+43 -0) 📝 `tests/Doctrine/Tests/ORM/Query/SelectSqlGenerationTest.php` (+79 -58) </details> ### 📄 Description Fix ClassMetadataInfo->getQuotedColumnName to correctly handle entity FK as PK by looking for the field in association mappings in addition to field mappings --- <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 15:56:54 +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#7791