Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-12298

Typos in bsonExtractIntegerField status message

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 2.5.5
    • Affects Version/s: None
    • Component/s: Logging
    • Fully Compatible
    • ALL
    • None
    • 0
    • None
    • None
    • None
    • None
    • None
    • None

      https://github.com/mongodb/mongo/blob/7ad6ad2e90f4b17c73c0f74f57460ef50469fa0b/src/mongo/bson/util/bson_extract.cpp#L126

      126: "Expected field \"" << fieldName << " to have an value "
      

      Two issues with the message:

      • There's a missing quotation mark on the right side of fieldName
      • "an value" should be "a value"

      Version: 6fe729fdc28b23f105ff4466602615c8cd3585e8

            Assignee:
            kamran.khan Kamran K. (Inactive)
            Reporter:
            kamran.khan Kamran K. (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: