Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix applying ON/WITH conditions to first join in Class Table Inheritance #1254

Merged
merged 1 commit into from
Jan 17, 2015

Conversation

vitaliyberdylo
Copy link

Now we build nested joins for CTI when using ON/WITH clause.

Now we build nested joins for CTI when using ON/WITH clause.
@doctrinebot
Copy link

Hello,

thank you for creating this pull request. However did not open it on the "master"
branch. Our Git workflow requires all pull requests to go through "master" branch
and the release masters then merge them back into stable branches, if they are
bug fixes.

Please open the pull request again for the "master" branch and close
this one.

Nevertheless I have opened a Jira ticket for this Pull Request to track this
issue:

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

We use Jira to track the state of pull requests and the versions they got
included in.

@vitaliyberdylo
Copy link
Author

Hello @Ocramius.
You have already discussed this issue with my colleague
https://twitter.com/ato0n1/status/541754890499145728
Merge this PR as quickly as possible please.
Thank you.

@Ocramius
Copy link
Member

@vitaliyberdylo can you add a functional test involving a JTI?

Ping @guilhermeblanco since you already handled this issue once before, IIRC.

@guilhermeblanco
Copy link
Member

@Ocramius I didn't... it was required to implement precedence of joins (which is what this patch does for JTI) and I left aside.

@vitaliyberdylo
Copy link
Author

Hello @Ocramius.
Do i need to do something like this https://github.com/doctrine/doctrine2/pull/668/files?
It PR must be into master and 2.4 or only 2.4?

@Ocramius
Copy link
Member

@vitaliyberdylo this will go in 2.5 for now, and may be backported later on

@Ocramius
Copy link
Member

I could also need a test case with a DQL query actually producing failing previously to this patch.

Should be doable with some of the existing test assets.

@guilhermeblanco
Copy link
Member

@Ocramius that's only the tip of the iceberg... if we go down the precedence of joins path, we should also properly address whatever got listed in http://www.doctrine-project.org/jira/browse/DDC-349

@Ocramius
Copy link
Member

This PR is already applied to master, therefore only merging into 2.4.

@Ocramius Ocramius self-assigned this Jan 17, 2015
Ocramius added a commit that referenced this pull request Jan 17, 2015
Fix applying ON/WITH conditions to first join in Class Table Inheritance
@Ocramius Ocramius merged commit 05342b0 into doctrine:2.4 Jan 17, 2015
@Ocramius
Copy link
Member

Thanks @vitaliyberdylo!

Ocramius added a commit that referenced this pull request Jan 18, 2015
@vitaliyberdylo
Copy link
Author

Thank you guys!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants