JackAdams / meteor-transactions

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

Issue about the Cannot read property 'transactionsCollection' of undefined #48

Closed tuanhai12h closed 8 years ago

tuanhai12h commented 8 years ago

Hi team,

I am use this package from the version 0.7.4, but when I update to version > 0.7.5, I can not build the app both on android or iOS. In android, throw the error about Iron:router. And in iOS, always loading in the splash screen.

The error catched on the verbose console is: I20160222-14:26:21.020(7) (android:file:///android_asset/www/plugins/cordova-plugin-console/www/console-via-logger.js:173) METEOR CORDOVA DEBUG (meteor_cordova_loader.js) Loading from url: http://meteor.local I20160222-14:26:25.296(7) (android:http://meteor.local/packages/babrahams_transactions.js:45) Uncaught TypeError: Cannot read property 'transactionsCollection' of undefined I20160222-14:26:26.556(7) (android:http://meteor.local/packages/global-imports.js:24) Uncaught TypeError: Cannot read property 'tx' of undefined

After error throw, it have many Template can not seen Uncaught ReferenceError: Template is not defined

Please help me check or update it if this is a bug. So many thanks team,

JackAdams commented 8 years ago

Try 0.7.7 (just released on Atmosphere). It should fix this.

tuanhai12h commented 8 years ago

Thanks

JackAdams commented 8 years ago

Did it fix the issue? I didn't actually reproduce and test.

tuanhai12h commented 8 years ago

Yes, I worked.

Thanks again.

JackAdams commented 8 years ago

Cool. Thanks for letting me know. :-) And thank you for raising this issue!