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

Embedded mongosh is stuck after a semicolon separating 2 commands

    • Type: Icon: Bug Bug
    • Resolution: Gone away
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • Affects Version/s: 1.37.0
    • Component/s: Embedded Shell
    • None
    • Environment:
      OS: Ventura 13.4
      node.js / npm versions:
      Additional info:
    • Developer Tools
    • Not Needed

      Problem Statement/Rationale

      What is going wrong? What action would you like the Engineering team to take?

      Please be sure to attach relevant logs with any sensitive data redacted.
      How to retrieve logs for: Compass; Shell

      Embedded mongosh does not seem to be parsing semicolons properly.

      Steps to Reproduce

      How could an engineer replicate the issue you’re reporting?

      db "TTT" was created via the UI.

      Then entered

       

      use TTT;db.rrr.insertOne({ "_id" : "555",
      "bbb":2
      }) 
      

      Expected Results

      What do you expect to happen?

      Insert of a document. Able to use Compass normally

      Actual Results

      What do you observe is happening?

      Seeing the "Spinning circle" like it's processing. Can't run anything further in embedded mongosh. Had to quit application

      Additional Notes

      Any additional information that may be useful to include.

      Log attached

            Assignee:
            Unassigned Unassigned
            Reporter:
            felicia.hsieh@mongodb.com Felicia Hsieh
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: