[COMPASS-5558] Behavior is reverse between mongodb shell and compass Created: 02/Mar/22 Updated: 27/Oct/23 Resolved: 17/May/23 |
|
| Status: | Closed |
| Project: | Compass |
| Component/s: | Embedded Shell |
| Affects Version/s: | None |
| Fix Version/s: | No version |
| Type: | Bug | Priority: | Minor - P4 |
| Reporter: | 竞 高 | Assignee: | Sergey Petushkov |
| Resolution: | Works as Designed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
MongoDB server version: 4.4.12 |
||
| Attachments: |
|
| Documentation Changes: | 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
|
| Comments |
| Comment by Sergey Petushkov [ 17/May/23 ] |
|
Hello, thanks for opening an issue! Compass behavior is aligned with the new MongoDB shell: mongosh, so this works as expected |