#29230: Incorrect behavior of QuerySet.prefetch_related() in some circumstances
during multilevel data prefetching
-------------------------------------+-------------------------------------
Reporter: Alex | Owner: nobody
Sichkar |
Type: Bug | Status: new
Component: Database | Version: 1.11
layer (models, ORM) |
Severity: Normal | Keywords: prefetch_related
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
In some circumstances prefetched data might be overwritten.
IMHO this ticket is related to the issue:
https://code.djangoproject.com/ticket/24873
If I revert changes from this pull request:
https://github.com/django/django/pull/4723
there is no such problem.
Prepared sample project with test case to reproduce the issue.
--
Ticket URL: <https://code.djangoproject.com/ticket/29230>
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/049.db8086bc11efd3e53a9961a1bbd9ee7e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.