#34178: Prefetching a foreign key on GenericForeignKey results in incorrect
queryset being selected
-------------------------------------+-------------------------------------
     Reporter:  Rohan Nahata         |                    Owner:  nobody
         Type:  Bug                  |                   Status:  new
    Component:  Database layer       |                  Version:  4.1
  (models, ORM)                      |
     Severity:  Normal               |               Resolution:
     Keywords:  GenericForeignKey,   |             Triage Stage:
  prefetch_related                   |  Unreviewed
    Has patch:  1                    |      Needs documentation:  0
  Needs tests:  0                    |  Patch needs improvement:  0
Easy pickings:  0                    |                    UI/UX:  0
-------------------------------------+-------------------------------------
Changes (by MahavirAce):

 * status:  closed => new
 * type:  New feature => Bug
 * has_patch:  0 => 1
 * resolution:  duplicate =>


Comment:

 We communicated with the author of #33651. He told us he was looking to
 build a new functionality. Using his functionality, a developer will use
 Prefetch functionality with GenericForeignkey. The ticket that @rohanahata
 raised was -->we got the wrong data when we fired query as mentioned in
 our ticket . We want to solve that bug . So our ticket is not a duplicate
 of #33651. I request you to please reopen our ticket on these grounds. We
 also have a patch for the same

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34178#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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/01070184b99c5be8-6a89cd58-89df-4188-a594-1a4c266ef90b-000000%40eu-central-1.amazonses.com.

Reply via email to