[SERVER-13394] Error message typo in jValue validation in shell's WriteConcern constructor Created: 27/Mar/14  Updated: 11/Jul/16  Resolved: 28/Mar/14

Status: Closed
Project: Core Server
Component/s: Shell, Write Ops
Affects Version/s: 2.6.0-rc2
Fix Version/s: 2.6.0-rc3

Type: Bug Priority: Trivial - P5
Reporter: Kamran K. Assignee: Matt Kangas
Resolution: Done Votes: 0
Labels: 26qa
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Backwards Compatibility: Fully Compatible
Operating System: ALL
Steps To Reproduce:

new WriteConcern(0, 0, null)

Participants:

 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



 Comments   
Comment by Githook User [ 28/Mar/14 ]

Author:

{u'username': u'kkmongo', u'name': u'Kamran Khan', u'email': u'kamran.khan@mongodb.com'}

Message: SERVER-13394 Fix typo in jValue validation error message in WriteConcern constructor

Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
(cherry picked from commit e4c7d8dec2ddd172ad788483846dcf8e670581a5)
Branch: v2.6
https://github.com/mongodb/mongo/commit/3ca3effff3fa15cf996a2f3929b3227f8f34e25a

Comment by Githook User [ 28/Mar/14 ]

Author:

{u'username': u'kkmongo', u'name': u'Kamran Khan', u'email': u'kamran.khan@mongodb.com'}

Message: SERVER-13394 Fix typo in jValue validation error message in WriteConcern constructor

Signed-off-by: Matt Kangas <matt.kangas@mongodb.com>
Branch: master
https://github.com/mongodb/mongo/commit/e4c7d8dec2ddd172ad788483846dcf8e670581a5

Generated at Thu Feb 08 03:31:35 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.