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

help command to list wrapper objections generates syntax error

    • Type: Icon: Bug Bug
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: 1.1.6
    • Component/s: None
    • Labels:
      None
    • Environment:
      MacOS 11.6.2
    • 3

      Problem Statement/Rationale

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

      It's not clear how to get a list of the mongosh wrapper objects as described at

      https://docs.mongodb.com/manual/tutorial/access-mongo-shell-help/#wrapper-object-help

      Steps to Reproduce

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

      mongosh 1.1.6

      mongod 5.0.5

      Enter "help misc", "help Date()", "help Date"....

      Only "help" generated a list, but nothing that lists wrapper objs

      Expected Results

      What do you expect to happen?

      See a list of wrapper objects

      Actual Results

      What do you observe is happening?

      error message "SyntaxError: Missing semicolon. (1:4)"

      Additional Notes

      Any additional information that may be useful to include.

      Question: Is the `help` command listing updated?

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

              Created:
              Updated: