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

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 1.0
    • Affects Version/s: 0.11
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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 Stam
            Reporter:
            Robert Stam
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: