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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.0
    • 0.11
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: