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

When creating a new GridFS file using the Stream API you can't set the _id for the file

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.2
    • Affects Version/s: 1.1
    • Component/s: None
    • Labels:
      None
    • Fully Compatible

      The private method MongoGridFSFileStream.OpenCreate throws an exception when fileInfo.Id already has a value. Instead it should just use the value provided.

            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: