#31584: Queryset crashes when grouping by Exists() on Oracle. -------------------------------------+------------------------------------- Reporter: felixxm | Owner: felixxm Type: Bug | Status: closed Component: Database layer | Version: 3.0 (models, ORM) | Severity: Release blocker | Resolution: fixed Keywords: oracle exists | Triage Stage: Ready for boolean | checkin Has patch: 1 | Needs documentation: 0 Needs tests: 0 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 -------------------------------------+-------------------------------------
Comment (by Carlton Gibson <carlton.gibson@…>): In [changeset:"b46b0f80e81bbf8fcf7e8c20c249c8041db5e227" b46b0f8]: {{{ #!CommitTicketReference repository="" revision="b46b0f80e81bbf8fcf7e8c20c249c8041db5e227" [3.1.x] Fixed #31584 -- Fixed crash when chaining values()/values_list() after Exists() annotation and aggregation on Oracle. Oracle requires the EXISTS expression to be wrapped in a CASE WHEN in the GROUP BY clause. Regression in efa1908f662c19038a944129c81462485c4a9fe8. Backport of 3a941230c85b2702a5e1cd97e17251ce21057efa from master }}} -- Ticket URL: <https://code.djangoproject.com/ticket/31584#comment:5> 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 view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/065.a66ce7d6a627f68bf5592f06ae66f2f2%40djangoproject.com.