#33482: filter on exists-subquery with empty queryset removes whole WHERE block
-------------------------------------+-------------------------------------
Reporter: Tobias Bengfort | Owner: Simon
| Charette
Type: Bug | Status: closed
Component: Database layer | Version: 4.0
(models, ORM) |
Severity: Normal | Resolution: fixed
Keywords: orm, | Triage Stage: Ready for
EmptyResultSet, Exists | checkin
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by GitHub <noreply@…>):
In [changeset:"6f185a53a2a7acad0ad8383267942d554527688a" 6f185a5]:
{{{
#!CommitTicketReference repository=""
revision="6f185a53a2a7acad0ad8383267942d554527688a"
Refs #33482 -- Fixed QuerySet selecting and filtering againts negated
Exists() with empty queryset.
Regression in b7d1da5a62fe4141beff2bfea565f7ef0038c94c.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/33482#comment:8>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/060.e11991aec270a7e01f3dbe55c8073c40%40djangoproject.com.