Uploaded image for project: 'C# Driver'
  1. C# Driver
  2. CSHARP-674

Error serializing key-value pairs with a null value

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.8
    • Affects Version/s: 1.7, 1.8
    • Component/s: None
    • None

      If the value in a KeyValuePair is null, the following line (173 in 1.7, 170 in 1.8) in the KeyValuePairSerializer throws an exception:

      var valueSerializer = GetValueSerializer(keyValuePair.Value.GetType());

            Assignee:
            robert@mongodb.com Robert Stam
            Reporter:
            dhgoldman Daniel Goldman
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: