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

Shell Autocomplete Throws Exception When Completing Collection Names

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Duplicate
    • Affects Version/s: 3.5.12
    • Fix Version/s: None
    • Component/s: Shell
    • Labels:
      None
    • Environment:
      Ubuntu 14.04
    • Operating System:
      ALL
    • Steps To Reproduce:
      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__"

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

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: