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

shell autocomplete is broken for constructors

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 3.7.3
    • 4.0.0-rc0
    • 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

    Description

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

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: