DDC-2507: [GH-698] Fix for [DDC-2506] CTI JOINs and WITH conditionals #3146

Open
opened 2026-01-22 14:13:45 +01:00 by admin · 0 comments
Owner

Originally created by @doctrinebot on GitHub (Jun 14, 2013).

Originally assigned to: @Ocramius on GitHub.

Jira issue originally created by user @doctrinebot:

This issue is created automatically through a Github pull request on behalf of mattjanssen:

Url: https://github.com/doctrine/doctrine2/pull/698

Message:

http://www.doctrine-project.org/jira/browse/DDC-2506

Moved the SqlWalker::walkConditionalExpression() out of walkJoin() and into walkJoinAssociationDeclaration() after the base class JOIN but _before_ the _generateClassTableInheritanceJoins(), thus allowing WITH conditions in Class Table Inheritance joins to apply correctly.

On a side note, I'm not able to get phpunit to run (even on a clean Master) so I'm leaving the testing up to Travis.

Originally created by @doctrinebot on GitHub (Jun 14, 2013). Originally assigned to: @Ocramius on GitHub. Jira issue originally created by user @doctrinebot: This issue is created automatically through a Github pull request on behalf of mattjanssen: Url: https://github.com/doctrine/doctrine2/pull/698 Message: http://www.doctrine-project.org/jira/browse/[DDC-2506](http://www.doctrine-project.org/jira/browse/DDC-2506) Moved the `SqlWalker::walkConditionalExpression()` out of `walkJoin()` and into `walkJoinAssociationDeclaration()` after the base class JOIN but **_before**_ the `_generateClassTableInheritanceJoins()`, thus allowing WITH conditions in Class Table Inheritance joins to apply correctly. On a side note, I'm not able to get phpunit to run (even on a clean Master) so I'm leaving the testing up to Travis.
admin added the Bug label 2026-01-22 14:13:45 +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#3146