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

MapReduce.Duration throws an exception

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • 0.9
    • Affects Version/s: 0.9
    • Component/s: None
    • Labels:
      None

      I think this is 0.9, I pulled earlier this evening November 28th, 2010.

      This is trivial, but I noticed the Duration property is throwing an exception:

      MongoDB.DriverOnlineTests.Jira.CSharpMapReduce.CSharpMapReduceTests.MapReduce:
      System.InvalidCastException : Unable to cast object of type 'MongoDB.Bson.BsonInt32' to type 'MongoDB.Bson.BsonDouble'.

      Attached is an integration test reproducing the issue.

      Also, inside of CommandResult there are two properties:

      • ErrorMessage : "Unknown Error"
      • Ok : true

      Not sure if those should be that way.

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

              Created:
              Updated:
              Resolved: