#36116: prefetch_related() selects too many objects from a related table with a
composite primary key and hidden related name
-------------------------------------+-------------------------------------
     Reporter:  Jacob Walls          |                    Owner:  Simon
         Type:                       |  Charette
  Cleanup/optimization               |                   Status:  closed
    Component:  Database layer       |                  Version:  5.2
  (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 Sarah Boyce <42296566+sarahboyce@…>):

 In [changeset:"08187c94ed02c45ad40a32244dedeaa7ac71ca87" 08187c94]:
 {{{#!CommitTicketReference repository=""
 revision="08187c94ed02c45ad40a32244dedeaa7ac71ca87"
 Fixed #36432 -- Fixed a prefetch_related crash on related target subclass
 queryset.

 Regression in 626d77e52a3f247358514bcf51c761283968099c.

 Refs #36116.

 Thanks Cornelis Poppema for the excellent report.
 }}}
-- 
Ticket URL: <https://code.djangoproject.com/ticket/36116#comment:12>
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 visit 
https://groups.google.com/d/msgid/django-updates/010701973a1f367f-7d5acf08-3a87-4114-af80-123120ba45ae-000000%40eu-central-1.amazonses.com.

Reply via email to