DownloadsBytesAsync throws a NullReferenceException if options parameter is null

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 2.1
    • Affects Version/s: 2.1
    • Component/s: GridFS
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The options parameter to the DownloadAsBytesAsync method in GridFSBucket is optional, and defaults to null.

      But if no options are provided, DownloadAsBytesAsync throws a NullReferenceException instead of using default options.

              Assignee:
              Robert Stam
              Reporter:
              Robert Stam
              Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: