Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-6709

MONGOSH | Getting unimplemented error on running exit or quit command

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor - P4 Minor - P4
    • None
    • None
    • None
    • None
    • OS: Windows 10

      Additional info:
      MongoDB Compass version: 6.0.5

      Error Code: [COMMON-90002]

    Description

      Problem Statement/Rationale

      As a user, when i'm trying to quit the Mongo DB  shell  Console using the 'exit/quit' command(s) and observing that 'MongoshUnimplementedError'. but the above commands and the corresponding action(s) has been mentioned in the help. 

      Please find the attached screenshot(s) for ref.

      Steps to Reproduce

      1. Open Mongo DB Compass and connect to any database
      2. Open Compass Shell and run any of the command i.e. exit / quit

      Expected Results

      The corresponding action for Mongo DB Compass Shell should be performed on running exit or quit command. No error should be displayed.

      Actual Results

      Getting the error as below: 

      [MongoshUnimplementedError:|#]

      [COMMON-90002] the exit/quit commands are not supported for current platform: Compass

      Additional Notes

      It would be an appropriate error message should be thrown since the two commands i.e quit / exit and the corresponding action has been mentioned in the Shell help screen. (Please refer the screenshot for ref)

      Attachments

        1. image-2023-04-07-23-40-19-619.png
          image-2023-04-07-23-40-19-619.png
          8 kB
        2. Shell_1.JPG
          Shell_1.JPG
          178 kB
        3. Shell_2.JPG
          Shell_2.JPG
          90 kB

        Activity

          People

            ben.radcliffe@mongodb.com Ben Radcliffe
            vijaykumarsinthu@gmail.com Vijay Kumar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: