MapReduce.Duration throws an exception

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Minor - P4
    • 0.9
    • Affects Version/s: 0.9
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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 Stam
              Reporter:
              Robert Schooley
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: