#28378: QuerySet.union() with queryset that raises EmptyResultSet results in an empty set -------------------------------------+------------------------------------- Reporter: Jon Dufresne | Owner: felixxm Type: Bug | Status: closed Component: Database layer | Version: 1.11 (models, ORM) | Severity: Release blocker | Resolution: fixed Keywords: | Triage Stage: Ready for | checkin Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by Mariusz Felisiak <felisiak.mariusz@…>): In [changeset:"346b46a274aa8f945aec7d63ea962b41c2c32e40" 346b46a]: {{{ #!CommitTicketReference repository="" revision="346b46a274aa8f945aec7d63ea962b41c2c32e40" [1.11.x] Fixed #28378 -- Fixed union() and difference() when combining with a queryset raising EmptyResultSet. Thanks Jon Dufresne for the report. Thanks Tim Graham and Simon Charette for the reviews. Backport of ca74e563500e291480f1976b58fcd34aac768dca from master }}} -- Ticket URL: <https://code.djangoproject.com/ticket/28378#comment:9> 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 django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/067.688658c0cfff989224eaa069f52029c2%40djangoproject.com. For more options, visit https://groups.google.com/d/optout.