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

Behavior is reverse between mongodb shell and compass

    • Type: Icon: Bug Bug
    • Resolution: Works as Designed
    • Priority: Icon: Minor - P4 Minor - P4
    • No version
    • Affects Version/s: None
    • Component/s: Embedded Shell
    • None
    • Environment:
      MongoDB server version: 4.4.12
      MongoDB shell version v4.2.11
      MongoDB Compass Version 1.30.1 (1.30.1)
    • Not Needed

      In shell:

      new ObjectId().valueOf();

      xxxxxxxxxxxxxxxxxxxxxxxx

      new ObjectId().toString();

      ObjectId("xxxxxxxxxxxxxxxxxxxxxxxx")

       

      In compass is totally reverse:

      new ObjectId().valueOf();

      ObjectId("xxxxxxxxxxxxxxxxxxxxxxxx")

      new ObjectId().toString();

      xxxxxxxxxxxxxxxxxxxxxxxx

       

       

        1. screenshot-2.png
          screenshot-2.png
          19 kB
        2. screenshot-1.png
          screenshot-1.png
          50 kB

            Assignee:
            sergey.petushkov@mongodb.com Sergey Petushkov
            Reporter:
            fengyuxx223@gmail.com 竞 高
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: