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

Behavior is reverse between mongodb shell and compass

    XMLWordPrintableJSON

Details

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

    Description

      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

       

       

      Attachments

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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: