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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 1.2
    • 1.1
    • None
    • None
    • Fully Compatible

    Description

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

      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: