collection.observe() throws exception when handle._added is undefined #589
I have the following code in server/publish.js:
After upgrading from 0.5.0 to 0.5.2 I keep getting the following exception:
This seems to be caused by _added being undefined in line 730 of meteor/packages/mongo-livedata/mongo_driver.js:
Here is a dump of the "handle" variable in that method:
Am I doing something wrong here or is this a bug? Should _addObserveHandleAndSendInitialAdds check that _added is actually a function before trying to call it?
The text was updated successfully, but these errors were encountered:
The cursor de-dup code introduced in Meteor 0.5.1 had a bug where a server-side `observe` with no `added` callback would throw an error if the `observe` was de-duped.