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

C# driver cannot handle GridFS files that have null for aliases or contentType

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.0
    • Affects Version/s: 0.11
    • Component/s: None
    • None

      Some drivers always write the aliases and contentType fields for a GridFS file and use a BSON null value if no other value has been provided. The C# driver throws an exception when trying to process these files. The C# driver should be prepared to handle a BSON null value for these fields even if it never writes nulls itself in order to interoperate with other drivers.

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

              Created:
              Updated:
              Resolved: