#28043 closed Bug (fixed)
Cloning a ModelState fails to deepcopy all options
Description ¶
In ModelState.clone, we copy the self.options
dictionary, but this fails to copy any mutable values, specifically indexes
. Since AddIndex.state_forwards
mutates indexes
, this leads to an invalid state.
Change History (5)
comment:1 by , 8 years ago
Triage Stage: | Unreviewed → Accepted |
---|---|
Version: | master → 1.11 |
comment:2 by , 8 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
Note:
See TracTickets
for help on using tickets.
PR