Closed subpop closed 14 years ago
Actually, it crashes on any request that seems to call mongo.ObjectID.createFromHexString(). Even simple GET requests to /db/coll/idString
Poking around with this more, even in the node shell, I can't create ObjectID objects and call that method. This seems more like an issue with node-mongodb-native.
Indeed I'm using the node-mongodb-native library. It seems that ObjectID is no longer exposed, but looking in the examples (type.js) from node-mongo-native it should be exposed. Looking into it as well...
Could very well be that mongo 1.6.1 isn't supported by the native driver. I had tested all of this with 1.4.2, which worked fine. Not giving up though!
Seems node-mongodb-native changed something I didn't expect. All calls to createFromHexString are removed, should look a lot better now.
Awesome. Works now. Good idea to have node-mongo-native as a submodule too. Now I don't have to keep both repositories separately.
Thanks for your patience and submitting the issue(s).
When sending a PUT and trying to update an existing document, NodeJS crashes with:
My request is: