[SERVER-12806] Object.invalidForStorage error messages reference 'okForStorage' method Created: 20/Feb/14  Updated: 11/Jul/16  Resolved: 12/Mar/14

Status: Closed
Project: Core Server
Component/s: Shell
Affects Version/s: None
Fix Version/s: 2.6.0-rc2

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

Issue Links:
Related
is related to SERVER-8391 Pre-flight upgrade tool to check for ... Closed
Operating System: ALL
Participants:

 Description   

Object.invalidForStorage has error messages that reference 'okForStorage' instead of 'invalidForStorage':

> Object.invalidForStorage()
2014-02-20T15:37:52.631-0500 Error: okForStorage needs 1 argument
> Object.invalidForStorage(true)
2014-02-20T15:37:54.217-0500 Error: argument to okForStorage has to be an object

https://github.com/mongodb/mongo/blob/25bddf266b85a97d8bc17796cb0c2a0759ba639c/src/mongo/scripting/v8_db.cpp#L1002,#L1006


Version: 5611bb4517550031684c510fb7a60abe04712ca7



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

Author:

{u'username': u'dannenberg', u'name': u'matt dannenberg', u'email': u'matt.dannenberg@10gen.com'}

Message: SERVER-12806 stop calling invalidForStorage okForStorage in its error messages
Branch: master
https://github.com/mongodb/mongo/commit/a58223aa670ddf841805ce7fa8520437d59dd02b

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