[SERVER-31036] Shell Autocomplete Throws Exception When Completing Collection Names Created: 11/Sep/17  Updated: 11/Sep/17  Resolved: 11/Sep/17

Status: Closed
Project: Core Server
Component/s: Shell
Affects Version/s: 3.5.12
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Bryan Reinero Assignee: Kelsey Schubert
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Ubuntu 14.04


Issue Links:
Duplicate
duplicates SERVER-30769 Mongo shell throws 'exception during ... Closed
Operating System: ALL
Steps To Reproduce:

Shell snippet included below. Exception is thrown as soon as I type the first tab to complete.

vagrant@vagrant-ubuntu-trusty-64:~$ mongodb-linux-x86_64-enterprise-ubuntu1404-3.5.12/bin/mongo --host 10.11.12.13
MongoDB shell version v3.5.12
connecting to: mongodb://10.11.12.13:27017/
MongoDB server version: 3.5.12
Server has startup warnings:
2017-09-11T18:22:46.260+0000 I STORAGE  [initandlisten]
2017-09-11T18:22:46.260+0000 I STORAGE  [initandlisten] ** WARNING: Using the XFS filesystem is strongly recommended with the WiredTiger storage engine
...
...
...
MongoDB Enterprise > db.resexception during autocomplete: "invalid 'in' operand o.__proto__"

Participants:

 Description   

Autocompletion triggers the following exception in the mongo shell when I type a tab to complete a collection name

exception during autocomplete: "invalid 'in' operand o._proto_"


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