Details
-
Bug
-
Resolution: Done
-
Major - P3
-
1.4
-
None
-
.net framework 2.0
Description
public class TestInfo
{
public string Id
public Object Items { get; set; }
}
TestInfo testInfo = new TestInfo();
testInfo.Id = ObjectId.GenerateNewId().ToString();
testInfo.Items = new List<string>()
;
collection.Save<TestInfo>(testInfo);
var item = collection.FindOneById(testInfo.Id);
Exception:
An error occurred while deserializing the Items property of class Test.Program+TestInfo: Cannot deserialize System.Object from BsonType Array.
Attachments
Issue Links
- related to
-
CSHARP-263 Deserialization of array that was serialized with nominalType object fails due to lack of type information
-
- Closed
-