#33984: Related managers cache gets stale after saving a fetched model with new 
PK
-------------------------------------+-------------------------------------
     Reporter:  joeli                |                    Owner:  Mariusz
                                     |  Felisiak
         Type:  Bug                  |                   Status:  closed
    Component:  Database layer       |                  Version:  4.1
  (models, ORM)                      |
     Severity:  Release blocker      |               Resolution:  fixed
     Keywords:                       |             Triage Stage:  Accepted
    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:"7a1675806a37375698df208c00f892cc81afe1b9" 7a167580]:
 {{{
 #!CommitTicketReference repository=""
 revision="7a1675806a37375698df208c00f892cc81afe1b9"
 [4.1.x] Fixed #33984 -- Reverted "Fixed #32980 -- Made models cache
 related managers."

 This reverts 4f8c7fd9d91b35e2c2922de4bb50c8c8066cbbc6 and adds
 two regression tests:
 - test_related_manager_refresh(), and
 - test_create_copy_with_m2m().

 Thanks joeli for the report.
 Backport of 5e0aa362d91d000984995ce374c2d7547d8d107f from main
 }}}

-- 
Ticket URL: <https://code.djangoproject.com/ticket/33984#comment:17>
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/010701838f343629-6bc62f84-2a30-4ee5-9f98-7c8289c63d20-000000%40eu-central-1.amazonses.com.

Reply via email to