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

shell autocomplete is broken for constructors

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.0.0-rc0
    • Affects Version/s: 3.7.3
    • Component/s: Shell
    • None
    • Fully Compatible
    • ALL
    • Hide

      Start the shell (with a mongod already running) and type:
      db.createCollection(
      and then hit tab. You will get:
      db.createCollection(exception during autocomplete: "Unknown Error Code: constructor"
      The expected output would be something like
      Display all 176 possibilities? (y or n)

      Show
      Start the shell (with a mongod already running) and type: db.createCollection( and then hit tab. You will get: db.createCollection(exception during autocomplete: "Unknown Error Code: constructor" The expected output would be something like Display all 176 possibilities? (y or n)
    • TIG 2018-05-07

      If you hit tab when in constructor context in the shell, you get an error.

            Assignee:
            david.bradford@mongodb.com David Bradford (Inactive)
            Reporter:
            milkie@mongodb.com Eric Milkie
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: