You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By default instance keep raw data from the database. So if you not accesses items from this collection before serialization, they will be not created from this raw data. This will cause lost of all data about items in collection during serialization/deserialization process.
I solved this problem for itself by redefining PersistentCollection class - I added call of 'initialize' method in '_sleep'.
How to reproduce
Create instance of PersistentCollection with raw data.
Serialize instance.
Unserialize instance.
At this point data will be lost.
The text was updated successfully, but these errors were encountered:
Bug Report
Summary
By default instance keep raw data from the database. So if you not accesses items from this collection before serialization, they will be not created from this raw data. This will cause lost of all data about items in collection during serialization/deserialization process.
I solved this problem for itself by redefining PersistentCollection class - I added call of 'initialize' method in '_sleep'.
How to reproduce
The text was updated successfully, but these errors were encountered: