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

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

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Trivial - P5 Trivial - P5
    • 2.6.0-rc3
    • Affects Version/s: 2.6.0-rc2
    • Component/s: Shell, Write Ops
    • Fully Compatible
    • ALL
    • Hide
      new WriteConcern(0, 0, null)
      
      Show
      new WriteConcern(0, 0, null)

      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

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

              Created:
              Updated:
              Resolved: