Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
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?