[COMPASS-5767] Mongosh embedded in Compass prints ObjectIds as {} Created: 25/Apr/22  Updated: 29/Oct/23  Resolved: 29/Jul/22

Status: Closed
Project: Compass
Component/s: None
Affects Version/s: None
Fix Version/s: 1.32.6

Type: Task Priority: Major - P3
Reporter: Le Roux Bodenstein Assignee: Le Roux Bodenstein
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Story Points: 3
Documentation Changes: Not Needed
Sprint: Iteration Cuttlefish, Iteration Dolphin, Iteration Eel, Iteration Fish, Iteration Grouper

 Description   

mongosh:

> print(new ObjectId())
ObjectId("6262bc57b1ad62f3a26c5946")

 
 
mongosh inside compass:

> print(new ObjectId())
{}

 

Found while testing change streams:

{ _id: { _data: '826262BB1F000000012B022C0100296E5A1004591C528E4CC8442FA550920B7F718DAD46645F696400646262BB1DFD05AF892E3E07EC0004' },  operationType: 'insert',  clusterTime: { low: 1, high: 1650637599, unsigned: true },  fullDocument: { _id: {} },  ns: { db: 'test', coll: 'beforeafter' },  documentKey: { _id: {} } } 

See both fullDocument._id and documentKey._id are printed as {} so you can't see which document the change stream event relates to.



 Comments   
Comment by Githook User [ 28/Sep/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: chore(deps): bump driver, shell, libmongocrypt (#3301)

Re-do of https://github.com/mongodb-js/compass/pull/3266 with
the latest versions of driver, mongosh and mongodb-client-encryption.
Resolves COMPASS-5767 and prepares us for the next driver release
expected to drop early next week.
Branch: update-compass-shell-to-shared-config
https://github.com/mongodb-js/compass/commit/23ada91090c8c8a097db1680aac19989544e62ba

Comment by Githook User [ 30/Aug/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: chore(deps): bump driver, shell, libmongocrypt (#3301)

Re-do of https://github.com/mongodb-js/compass/pull/3266 with
the latest versions of driver, mongosh and mongodb-client-encryption.
Resolves COMPASS-5767 and prepares us for the next driver release
expected to drop early next week.
Branch: compass-settings
https://github.com/mongodb-js/compass/commit/23ada91090c8c8a097db1680aac19989544e62ba

Comment by Githook User [ 30/Aug/22 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: Revert "chore: Use the new node-runtime-worker-thread from mongosh COMPASS-5767" (#3264)

Revert "chore: Use the new node-runtime-worker-thread from mongosh COMPASS-5767 (#3260)"

This reverts commit 9e2d20fdb4242d5da9cf143eb1224f7e7f1ef046.
Branch: compass-settings
https://github.com/mongodb-js/compass/commit/33fdc2270d72101ae01a57be90a86bdb9fda5bf8

Comment by Githook User [ 30/Aug/22 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: chore: Use the new node-runtime-worker-thread from mongosh COMPASS-5767 (#3260)

  • bump node-runtime-worker-thread
  • bump the rest of mongosh
  • also bump mongodb driver
Comment by Githook User [ 02/Aug/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: chore(deps): bump driver, shell, libmongocrypt (#3301)

Re-do of https://github.com/mongodb-js/compass/pull/3266 with
the latest versions of driver, mongosh and mongodb-client-encryption.
Resolves COMPASS-5767 and prepares us for the next driver release
expected to drop early next week.
Branch: COMPASS-5678-query-history-as-popover
https://github.com/mongodb-js/compass/commit/23ada91090c8c8a097db1680aac19989544e62ba

Comment by Githook User [ 29/Jul/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna.henningsen@mongodb.com', 'username': 'addaleax'}

Message: chore(deps): bump driver, shell, libmongocrypt (#3301)

Re-do of https://github.com/mongodb-js/compass/pull/3266 with
the latest versions of driver, mongosh and mongodb-client-encryption.
Resolves COMPASS-5767 and prepares us for the next driver release
expected to drop early next week.
Branch: main
https://github.com/mongodb-js/compass/commit/23ada91090c8c8a097db1680aac19989544e62ba

Comment by Githook User [ 29/Jul/22 ]

Author:

{'name': 'Anna Henningsen', 'email': 'anna@addaleax.net', 'username': 'addaleax'}

Message: chore(deps): bump driver, shell, libmongocrypt

Re-do of https://github.com/mongodb-js/compass/pull/3266 with
the latest versions of driver, mongosh and mongodb-client-encryption.
Resolves COMPASS-5767 and prepares us for the next driver release
expected to drop early next week.
Branch: bump-driver
https://github.com/mongodb-js/compass/commit/97eb576a937827f781e45c53659135e7459b80c8

Comment by Githook User [ 26/Jul/22 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: Revert "chore: Use the new node-runtime-worker-thread from mongosh COMPASS-5767" (#3264)

Revert "chore: Use the new node-runtime-worker-thread from mongosh COMPASS-5767 (#3260)"

This reverts commit 9e2d20fdb4242d5da9cf143eb1224f7e7f1ef046.
Branch: compass-sidebar-merge
https://github.com/mongodb-js/compass/commit/33fdc2270d72101ae01a57be90a86bdb9fda5bf8

Comment by Githook User [ 25/Jul/22 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: Revert "chore: Use the new node-runtime-worker-thread from mongosh COMPASS-5767" (#3264)

Revert "chore: Use the new node-runtime-worker-thread from mongosh COMPASS-5767 (#3260)"

This reverts commit 9e2d20fdb4242d5da9cf143eb1224f7e7f1ef046.
Branch: COMPASS-5678-query-history-as-popover
https://github.com/mongodb-js/compass/commit/33fdc2270d72101ae01a57be90a86bdb9fda5bf8

Comment by Githook User [ 25/Jul/22 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: chore: Use the new node-runtime-worker-thread from mongosh COMPASS-5767 (#3260)

  • bump node-runtime-worker-thread
  • bump the rest of mongosh
  • also bump mongodb driver
Comment by Githook User [ 25/Jul/22 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: Revert "chore: Use the new node-runtime-worker-thread from mongosh COMPASS-5767" (#3264)

Revert "chore: Use the new node-runtime-worker-thread from mongosh COMPASS-5767 (#3260)"

This reverts commit 9e2d20fdb4242d5da9cf143eb1224f7e7f1ef046.
Branch: COMPASS-5672-update-crud-toolbar-to-lg
https://github.com/mongodb-js/compass/commit/33fdc2270d72101ae01a57be90a86bdb9fda5bf8

Comment by Githook User [ 25/Jul/22 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: chore: Use the new node-runtime-worker-thread from mongosh COMPASS-5767 (#3260)

  • bump node-runtime-worker-thread
  • bump the rest of mongosh
  • also bump mongodb driver
Comment by Githook User [ 21/Jul/22 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: Revert "chore: Use the new node-runtime-worker-thread from mongosh COMPASS-5767" (#3264)

Revert "chore: Use the new node-runtime-worker-thread from mongosh COMPASS-5767 (#3260)"

This reverts commit 9e2d20fdb4242d5da9cf143eb1224f7e7f1ef046.
Branch: update-schema-validation-warnings-to-leafygreen
https://github.com/mongodb-js/compass/commit/33fdc2270d72101ae01a57be90a86bdb9fda5bf8

Comment by Githook User [ 21/Jul/22 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: chore: Use the new node-runtime-worker-thread from mongosh COMPASS-5767 (#3260)

  • bump node-runtime-worker-thread
  • bump the rest of mongosh
  • also bump mongodb driver
Comment by Githook User [ 18/Jul/22 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: Revert "chore: Use the new node-runtime-worker-thread from mongosh COMPASS-5767" (#3264)

Revert "chore: Use the new node-runtime-worker-thread from mongosh COMPASS-5767 (#3260)"

This reverts commit 9e2d20fdb4242d5da9cf143eb1224f7e7f1ef046.
Branch: 1.32-releases
https://github.com/mongodb-js/compass/commit/33fdc2270d72101ae01a57be90a86bdb9fda5bf8

Comment by Githook User [ 18/Jul/22 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: chore: Use the new node-runtime-worker-thread from mongosh COMPASS-5767 (#3260)

  • bump node-runtime-worker-thread
  • bump the rest of mongosh
  • also bump mongodb driver
Comment by Githook User [ 18/Jul/22 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: Revert "chore: Use the new node-runtime-worker-thread from mongosh COMPASS-5767" (#3264)

Revert "chore: Use the new node-runtime-worker-thread from mongosh COMPASS-5767 (#3260)"

This reverts commit 9e2d20fdb4242d5da9cf143eb1224f7e7f1ef046.
Branch: save-favorites-issue
https://github.com/mongodb-js/compass/commit/33fdc2270d72101ae01a57be90a86bdb9fda5bf8

Comment by Githook User [ 15/Jul/22 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: Revert "Revert "chore: Use the new node-runtime-worker-thread from mongosh COMPASS-5767" (#3264)"

This reverts commit 33fdc2270d72101ae01a57be90a86bdb9fda5bf8.
Branch: revert-3264-revert-3260-bump-node-runtime-worker-thread
https://github.com/mongodb-js/compass/commit/c03154e6ea4b3180830eaad93e9e9b13b267de40

Comment by Githook User [ 15/Jul/22 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: Revert "chore: Use the new node-runtime-worker-thread from mongosh COMPASS-5767" (#3264)

Revert "chore: Use the new node-runtime-worker-thread from mongosh COMPASS-5767 (#3260)"

This reverts commit 9e2d20fdb4242d5da9cf143eb1224f7e7f1ef046.
Branch: main
https://github.com/mongodb-js/compass/commit/33fdc2270d72101ae01a57be90a86bdb9fda5bf8

Comment by Githook User [ 15/Jul/22 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: Revert "chore: Use the new node-runtime-worker-thread from mongosh COMPASS-5767 (#3260)"

This reverts commit 9e2d20fdb4242d5da9cf143eb1224f7e7f1ef046.
Branch: revert-3260-bump-node-runtime-worker-thread
https://github.com/mongodb-js/compass/commit/9ce627493e88bd24f589291b81f5710b92de2774

Comment by Githook User [ 15/Jul/22 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: chore: Use the new node-runtime-worker-thread from mongosh COMPASS-5767 (#3260)

  • bump node-runtime-worker-thread
  • bump the rest of mongosh
  • also bump mongodb driver
Comment by Githook User [ 15/Jul/22 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: chore: Use the new node-runtime-worker-thread from mongosh COMPASS-5767 (#3260)

  • bump node-runtime-worker-thread
  • bump the rest of mongosh
  • also bump mongodb driver
Comment by Githook User [ 15/Jul/22 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: chore: Use the new node-runtime-worker-thread from mongosh COMPASS-5767 (#3260)

  • bump node-runtime-worker-thread
  • bump the rest of mongosh
  • also bump mongodb driver
Comment by Githook User [ 20/Jun/22 ]

Author:

{'name': 'Le Roux Bodenstein', 'email': 'lerouxb@gmail.com', 'username': 'lerouxb'}

Message: fix: serialize onPrint params before sending over RPC COMPASS-5767 (#1308)

  • serialize onPrint params before sending over RPC
  • deserialize in onPrint
  • rm TODO
Generated at Wed Feb 07 22:40:44 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.