[SERVER-6010] Shell considers ObjectID("4fce7c96b29a7b141c000001") != ObjectID("4fce7c96b29a7b141c000001") despite matching them Created: 05/Jun/12  Updated: 29/Jan/18  Resolved: 26/May/17

Status: Closed
Project: Core Server
Component/s: Shell
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: David K. Storrs Assignee: DO NOT USE - Backlog - Platform Team
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-1672 (new NumberLong(3754)==new NumberLong... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 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


Generated at Thu Feb 08 03:10:30 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.