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

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

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Shell
    • None
    • Fully Compatible
    • ALL

      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

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

              Created:
              Updated:
              Resolved: