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

IIdGenerator.GenerateId gives "InsertOpreration" instead of "MongoCollection" for the "container" paramter in 1.8.2

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.8.3
    • Affects Version/s: 1.8.2
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      After updating to version 1.8.2 our custom id generator came crashing down. The "container" parameter of IIdGenerator.GenerateId used to be a MongoCollection instance but now seems to be an InsertOperation whatever that is, the class is internal so there is really no way to use it for anything.

      I could not find anything in the release notes and documentation or issues here on Jira to hint at a change. We downgraded to 1.8.1 and it works.

      I have attached a small test project that for me shows the error.

            Assignee:
            robert@mongodb.com Robert Stam
            Reporter:
            christian@sparre.it Christian Sparre
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: