Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
4.0.B2, 4.1.M1
-
None
Description
DataContext is designed to be thread safe, however there is no synchronization in serialization.
This problem shows itself in 4.1.M1 version as ConcurrentModificationException when trying to serialize Context while other threads add or delete objects in it.
In 4.1.M1 underlying data structure was changed, thus revealing this problem. But it also affects earlier versions of Cayenne.