Skip to content

Filtering empty uuids in ORMQueryBuilderLoader. #23853

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

Merged
merged 1 commit into from
Sep 11, 2017

Conversation

mlazovla
Copy link
Contributor

Q A
Branch? 2.7
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #23808
License MIT
Doc PR no

@nicolas-grekas
Copy link
Member

ping @Tobion @maryo

@Tobion
Copy link
Contributor

Tobion commented Aug 12, 2017

Seems good enough. But #23808 (comment) would be the more correct solution.

@nicolas-grekas
Copy link
Member

@mlazovla what's your stand about that "more correct solution"?

@mlazovla
Copy link
Contributor Author

Maryo's new solution looks more universal than my PR. But I am not sure if it broke some edge case.

@nicolas-grekas
Copy link
Member

So, should we merge and later on do what @maryo describes? Anyone willing to give it a try?

Copy link
Member

@javiereguiluz javiereguiluz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This definitely improves our current code and it looks correct. I'm not sure about the other proposed solution here and even its author mentions some potential problems with PostgreSQL.

@fabpot
Copy link
Member

fabpot commented Sep 11, 2017

Thank you @mlazovla.

@fabpot fabpot merged commit 27e8cd2 into symfony:2.7 Sep 11, 2017
fabpot added a commit that referenced this pull request Sep 11, 2017
This PR was merged into the 2.7 branch.

Discussion
----------

Filtering empty uuids in ORMQueryBuilderLoader.

| Q             | A
| ------------- | ---
| Branch?       | 2.7
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #23808
| License       | MIT
| Doc PR        | no

Commits
-------

27e8cd2 Filtering empty uuids in ORMQueryBuilderLoader.
@fabpot fabpot mentioned this pull request Sep 11, 2017
This was referenced Oct 5, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants