Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-6010

Shell considers ObjectID("4fce7c96b29a7b141c000001") != ObjectID("4fce7c96b29a7b141c000001") despite matching them

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • None
    • None
    • Shell
    • None
    • Fully Compatible
    • ALL

    Description

      Given an ObjectID such as: ("4fce7c96b29a7b141c000001"), I'm referring to the '4f...' when I say '[object] value'.

      From the freenode #mongodb channel:

      dstorrs : are all ObjectIDs with the same value considered == ? And are they considered
      === ?

      [15:13] < kchodoro_> dstorrs: looks like they're not even ==
      [15:13] < kchodoro_> which seems silly, since the db matches them
      [15:13] < kchodoro_> that would probably be considered a bug in the shell

      Attachments

        Issue Links

          Activity

            People

              backlog-server-platform DO NOT USE - Backlog - Platform Team
              dstorrs David K. Storrs
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: