#35159: dumpdata crashes on querysets with prefetch_related().
-------------------------------------+-------------------------------------
Reporter: Andrea F | Owner: Mariusz
| Felisiak
Type: Bug | Status: closed
Component: Core (Management | Version: 5.0
commands) |
Severity: Release blocker | Resolution: fixed
Keywords: dumpdata chunk_size | Triage Stage: Accepted
iterator prefetch_related |
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by Mariusz Felisiak <felisiak.mariusz@…>):
In [changeset:"7453d6a80792e3f811fc662b8b25fdcbc5ea7eb3" 7453d6a]:
{{{#!CommitTicketReference repository=""
revision="7453d6a80792e3f811fc662b8b25fdcbc5ea7eb3"
[5.0.x] Fixed #35159 -- Fixed dumpdata crash when base querysets use
prefetch_related().
Regression in 139135627650ed6aaaf4c755b82c3bd43f2b8f51
following deprecation in edbf930287cb72e9afab1f7208c24b1146b0c4ec.
Thanks Andrea F for the report.
Backport of 38eaf2f21a2398a8dd8444f6df3723898cb5fe2a from main
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/35159#comment:7>
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/0107018d60131f4e-1bc661b3-aa1a-4e3b-af8b-7a3d9a007df6-000000%40eu-central-1.amazonses.com.