[PR #668] [CLOSED] [INVALID] [DDC-2452] DQL arbitrary joins between JTI entities produces invalid SQL #8533

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

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/668
Author: @Ocramius
Created: 5/16/2013
Status: Closed

Base: masterHead: hotfix/inheritance-join-broken


📝 Commits (2)

  • 8453cb5 Adding failing test for DDC-2452
  • 4e1450b Applying hotfix for DDC-2452

📊 Changes

3 files changed (+73 additions, -2 deletions)

View changed files

📝 lib/Doctrine/ORM/Query/SqlWalker.php (+1 -1)
tests/Doctrine/Tests/ORM/Functional/Ticket/DDC2452Test.php (+71 -0)
📝 tests/Doctrine/Tests/ORM/Query/SelectSqlGenerationTest.php (+1 -1)

📄 Description

DDC-2452 - DQL joins between JTI entities produce invalid SQL when additional conditions are inserted via WITH clause

Still working on a fix


🔄 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/668 **Author:** [@Ocramius](https://github.com/Ocramius) **Created:** 5/16/2013 **Status:** ❌ Closed **Base:** `master` ← **Head:** `hotfix/inheritance-join-broken` --- ### 📝 Commits (2) - [`8453cb5`](https://github.com/doctrine/orm/commit/8453cb5c50ab64746b4fa71f9f03e3a171eb65c5) Adding failing test for DDC-2452 - [`4e1450b`](https://github.com/doctrine/orm/commit/4e1450be03960961dd1132ad16e73a2f1dfc4edf) Applying hotfix for DDC-2452 ### 📊 Changes **3 files changed** (+73 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `lib/Doctrine/ORM/Query/SqlWalker.php` (+1 -1) ➕ `tests/Doctrine/Tests/ORM/Functional/Ticket/DDC2452Test.php` (+71 -0) 📝 `tests/Doctrine/Tests/ORM/Query/SelectSqlGenerationTest.php` (+1 -1) </details> ### 📄 Description [DDC-2452](http://www.doctrine-project.org/jira/browse/DDC-2452) - DQL joins between JTI entities produce invalid SQL when additional conditions are inserted via WITH clause Still working on a fix --- <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:21 +01:00
admin closed this issue 2026-01-22 16:00: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#8533