[BUG] AttributePropery with mutable, non-auto-create default loses its value on restart #3524
Labels
bug
An actual error or unwanted behavior.
needs-triage
Yet to be looked at and verified as an a real issue/feature that could be worked on
This seems to be a recurrence of #3488 (resolved by b8e37f9)
I can't recall how much I tested this after the above fix but I am still seeing this happening. Here is a more basic example:
Using this object:
If an empty list is assigned to the proprty first, it works as expected:
Similarly for a dictionary:
Again, it works as expected if assigning first:
I have not tested sets but I suspect they may have the same issue.
This does not occur with
autocreate=True
.The text was updated successfully, but these errors were encountered: