-
Type: Bug
-
Resolution: Cannot Reproduce
-
Priority: Blocker - P1
-
None
-
Affects Version/s: 1.3
-
Component/s: None
-
Labels:
-
Environment:macbook pro retina; osx maveriks; 16gb RAM
-
Empty show more show less
node-mongodb-native/lib/mongodb/collection.js
i've been using 1.3.19 and when I updated to 1.3.20 I noticed that none of my scripts were working.
on inspecting/stepping through the code, I noticed that the functionality previously in lib/mongodb/collection.js has been abstracted out.
most of the Collection methods look like this:
Collection.prototype.findAndModify = function() { return core.findAndModify; };
when — I assume — they should look, something like this:
Collection.prototype.findAndModify = function() { return core.findAndModify.apply( this, arguments ); };
as the Collection methods simply return a function, nothing is actually happening and as such a program will just hang without throwing any errors.
i marked this as a blocker as it causes any node program node-mongodb-native to stop working, apologies if this is no considered a blocker.