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

Shell Autocomplete Throws Exception When Completing Collection Names

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.5.12
    • Component/s: Shell
    • None
    • Environment:
      Ubuntu 14.04
    • ALL
    • Hide

      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__"
      
      Show
      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__"

      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_"

            Assignee:
            kelsey.schubert@mongodb.com Kelsey Schubert
            Reporter:
            bryan.reinero Bryan Reinero
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: