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

Closed
opened 2026-01-22 14:13:48 +01:00 by admin · 6 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:48 +01:00
admin closed this issue 2026-01-22 14:13:48 +01:00
Author
Owner

@doctrinebot commented on GitHub (Jun 24, 2013):

Comment created by @doctrinebot:

A related Github Pull-Request [GH-698] was closed:
https://github.com/doctrine/doctrine2/pull/698

@doctrinebot commented on GitHub (Jun 24, 2013): Comment created by @doctrinebot: A related Github Pull-Request [GH-698] was closed: https://github.com/doctrine/doctrine2/pull/698
Author
Owner

@doctrinebot commented on GitHub (Jun 24, 2013):

Issue was closed with resolution "Incomplete"

@doctrinebot commented on GitHub (Jun 24, 2013): Issue was closed with resolution "Incomplete"
Author
Owner

@doctrinebot commented on GitHub (Aug 13, 2013):

Comment created by @doctrinebot:

A related Github Pull-Request [GH-708] was closed:
https://github.com/doctrine/doctrine2/pull/708

@doctrinebot commented on GitHub (Aug 13, 2013): Comment created by @doctrinebot: A related Github Pull-Request [GH-708] was closed: https://github.com/doctrine/doctrine2/pull/708
Author
Owner

@doctrinebot commented on GitHub (Oct 20, 2014):

Comment created by @doctrinebot:

A related Github Pull-Request [GH-698] was assigned:
https://github.com/doctrine/dbal/pull/698

@doctrinebot commented on GitHub (Oct 20, 2014): Comment created by @doctrinebot: A related Github Pull-Request [GH-698] was assigned: https://github.com/doctrine/dbal/pull/698
Author
Owner

@doctrinebot commented on GitHub (Oct 27, 2014):

Comment created by @doctrinebot:

A related Github Pull-Request [GH-708] was closed:
https://github.com/doctrine/dbal/pull/708

@doctrinebot commented on GitHub (Oct 27, 2014): Comment created by @doctrinebot: A related Github Pull-Request [GH-708] was closed: https://github.com/doctrine/dbal/pull/708
Author
Owner

@doctrinebot commented on GitHub (Nov 8, 2014):

Comment created by @doctrinebot:

A related Github Pull-Request [GH-708] was assigned:
https://github.com/doctrine/dbal/pull/708

@doctrinebot commented on GitHub (Nov 8, 2014): Comment created by @doctrinebot: A related Github Pull-Request [GH-708] was assigned: https://github.com/doctrine/dbal/pull/708
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#3149