Severe DB problem after upgrade from 4.4 to 5.0 on Atlas

Hi everyone,

We’re using Meteor 2.9.1 and on Atlas, we’ve just upgraded from 4.4 to 5.0.

What we see is when we run a method that updates an ObjectID in a document to which we’re currently subscribed we do receive the update of the Object id in a non-objectId format:
1: {_str: “19494195195159159”}
instead of
2: {"$type":"oid","$value":"d111d03a4c0785de433b4fab"}

That messes up with our code when we try to convert the first one to a string in an old way : variable +" " (instead of ._str)

However, when we do a Publish afterward, it gets the regular ObjectId.

Any idea what to do ?

We’ve upgraded meteor to 2.14 and it fixed it. We’re now looking to see if that introduced another bugs.