primus/ejson

Meteor._noYieldsAllowed method call but Meteor is undefined

jdrm opened this issue · 3 comments

jdrm commented

Couple of calls to the Meteor._noYieldsAllowed method are performed when using custom types. The Meteor object is not defined and is not a module imported which causes an error.

Do you happen to have a test case for us so we can trigger these calls? As our current test suite does not trigger these errors at all. But it's a bug non the less. It should be fairly easy to introduce a Meteor._noYieldsAllowed function in to the code so it's functional again.

Fixed in master, just needs a test to prevent this from happening again.

jdrm commented

I'll add a test then.