#24752: Reusing a Case/Where object in a query causes a crash
-------------------------------------+-------------------------------------
Reporter: mssnlayam | Owner: akaariai
Type: Bug | Status: closed
Component: Database layer | Version: 1.8
(models, ORM) |
Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Ready for
| checkin
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Tim Graham <timograham@…>):
In [changeset:"5b5858575c96719d928b0df03e6aff272f849e44" 5b585857]:
{{{
#!CommitTicketReference repository=""
revision="5b5858575c96719d928b0df03e6aff272f849e44"
[1.8.x] Fixed #24752 -- query crash when reusing Case expressions
Case expressions weren't copied deep enough (self.cases list was
reused resulting in an error).
Backport of 7b05d2fdaed582662d8f79130932f600f4f966a0 from master
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/24752#comment:4>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/067.fa1bf80718e49e2314184b05db771db9%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.