JackAdams / meteor-transactions

App level transactions for Meteor + Mongo
http://transactions.taonova.com/
MIT License
113 stars 16 forks source link

Get "self._drilldown is not a function" error after upgrading app to Meteor 1.5.1 #91

Closed rjsmith closed 7 years ago

rjsmith commented 7 years ago

Using babrahams:transactions version 0.8.4 in my application that I have just upgraded to Meteor 1.5.1

Stack trace:

TypeError: self.drillDown is not a function\n at collections/tx/txInverse.js:42:30\n at Array.forEach (native)\n at Function..each._.forEach (packages/underscore.js:139:11)\n at [object Object]._inverseSet (collections/tx/txInverse.js:41:9)\n at [object Object].Transact.update (packages/babrahams_transactions.js:924:96)\n at [object Object].self.(anonymous function) [as update] (packages/babrahams_transactions.js:364:31)\n at [object Object].Mongo.Collection.(anonymous function) [as update] (packages/babrahams_transactions.js:1900:29)\n at _beforeCommit (server/methods/requirementsMethods.js:2206:35)\n at [object Object].Meteor.methods.plRequirementReplaceRequirementParameter (server/methods/requirementsMethods.js:1469:7)\n at [object Object].methodMap.(anonymous function) (packages/mdg_meteor-apm-agent.js:2731:30)'

rjsmith commented 7 years ago

Whoops. Sorry. This is in my custom tx.inverse implementation. Not in the package code. I guess something has changed from 0.7.14 to 0.8.4 in this area.