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

XMLWordPrintableJSON

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

      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:
            DO NOT USE - Backlog - Platform Team
            Reporter:
            David K. Storrs
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: