Uploaded image for project: 'MongoDB Shell'
  1. MongoDB Shell
  2. MONGOSH-945

Autocomplete for `use` behaves unexpectedly in cases where a cluster has a single database

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.0.6
    • Affects Version/s: None
    • Component/s: Autocomplete
    • None
    • 2
    • Not Needed
    • Iteration Johannesburg

      Problem Statement/Rationale

      When connected to a deployment with a single database, autocomplete for use <tab> behaves oddly.

      Steps to Reproduce

      • Connect to the team's test ADL
      • type use <tab>

      Expected Results

      mongosh autocompletes to use sampleDB

      Actual Results

      mongosh autocompletes to use leDB

      Additional Notes

      If I type use s<tab> autocomplete works as expected.

       

       

            Assignee:
            anna.henningsen@mongodb.com Anna Henningsen
            Reporter:
            massimiliano.marcon@mongodb.com Massimiliano Marcon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: