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

Filter by entity with NOT_EQUAL fails with composite key #1033

Open
benbankes opened this issue Aug 9, 2016 · 1 comment
Open

Filter by entity with NOT_EQUAL fails with composite key #1033

benbankes opened this issue Aug 9, 2016 · 1 comment

Comments

@benbankes
Copy link

This is just documentation for myself since Propel1 is not being actively supported.

When filtering by a foreign entity, and using Criteria::NOT_EQUAL, the resulting query contains:
... AND entity.a <> 'valuea' AND entity.b <> 'valueb' ...
where instead it should have
... AND NOT(entity.a = 'valuea' AND entity.b = 'valueb') ...

@benbankes
Copy link
Author

Found in 1.6.7

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

No branches or pull requests

1 participant