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

Error message typo in jValue validation in shell's WriteConcern constructor

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial - P5
    • Resolution: Fixed
    • Affects Version/s: 2.6.0-rc2
    • Fix Version/s: 2.6.0-rc3
    • Component/s: Shell, Write Ops
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Steps To Reproduce:
      Hide

      new WriteConcern(0, 0, null)

      Show
      new WriteConcern(0, 0, null)

      Description

      There's a missing word in the following error message:

      src/mongo/shell/bulk_api.js:

      76  throw Error("j value must either true or false if defined, not " + opts.j);

      Output:

      > new WriteConcern(0, 0, null)
      2014-03-27T18:54:25.907-0400 Error: j value must either true or false if defined, not null at src/mongo/shell/bulk_api.js:76


      Version: 98e464bc2a21ad4b706854ad640957060fa0fa6f

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: