[SERVER-25887] exception during autocomplete - NumberLong Created: 31/Aug/16  Updated: 19/Nov/16  Resolved: 06/Sep/16

Status: Closed
Project: Core Server
Component/s: Shell
Affects Version/s: 3.3.12
Fix Version/s: 3.3.14

Type: Bug Priority: Major - P3
Reporter: Matt Cotter Assignee: Matt Cotter
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Platforms 2016-09-19
Participants:

 Description   

exception during autocomplete: "Cannot call \"floatApprox\" on prototype of \"NumberLong\""

Basically fails any tab complete on a NumberLong object.

e.g.

$ ./mongo --nodb
MongoDB shell version v3.3.10-669-g731632e
> var x = new NumberLong()

now type x and then hit tab

> x.exception during autocomplete: "Cannot call \"floatApprox\" on prototype of \"NumberLong\""

Seems not to happen on 3.2



 Comments   
Comment by Githook User [ 06/Sep/16 ]

Author:

{u'username': u'Machyne', u'name': u'Matt Cotter', u'email': u'matt.cotter@mongodb.com'}

Message: SERVER-25887 fix autocomplete for NumberLong
Branch: master
https://github.com/mongodb/mongo/commit/0c8d2ee3bab74599c80264a08afca2aae42ce27b

Generated at Thu Feb 08 04:10:32 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.