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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial - P5
    • Resolution: Fixed
    • 2.6.0-rc2
    • 2.6.0-rc3
    • Shell, Write Ops
    • Fully Compatible
    • ALL
    • 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

              matt.kangas Matt Kangas
              kamran.khan Kamran K.
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: