-
Type: Bug
-
Status: Resolved
-
Priority: Critical
-
Resolution: Fixed
-
Affects Version/s: 10.10
-
Fix Version/s: 10.10-HF53, 2021.9
-
Component/s: Core MongoDB
Under race conditions, it is possible to corrupt the data for multi-valued properties.
For example, instead of having the "page:decisions" property like
"page:decisions" : [ { "reasons" : [], "reviewTypee" : "L1", "reviewed" : ISODate(""), "comment" : "", "reviewer" : "", "validity" : "valid", "resolution" : "approve", "workflowInstanceID" : "aa429ab3-e10e-48b0-ad6c-0918b22416cd", "fakeDetection" : "notApplicable" }]
it is now stored as
"page:decisions" : { "1" : { "reasons" : [], "reviewTypee" : "L1", "reviewed" : ISODate(""), "comment" : "", "reviewer" : "", "validity" : "valid", "resolution" : "approve", "workflowInstanceID" : "aa429ab3-e10e-48b0-ad6c-0918b22416cd", "fakeDetection" : "notApplicable" }}
Because of this incorrect structure for a multi-valued property, it is now impossible to load the document.
What is expected:
- at least, being able to read the data with this incorrect structure to display the document
- at best, being able to fix the data when someone will update the document with new values for this property
- is related to
-
NXP-30550 Log more information on ClassCastException on readComplexProperty
- Resolved
- Is referenced in