brettle / meteor-accounts-patch-ui

Monkey patches accounts UI packages to support logged in users who have not signed up.
MIT License
0 stars 4 forks source link

Meteor 1.4.4.2: Maximum call stack exceeded #11

Open lpender opened 7 years ago

lpender commented 7 years ago

Hi!

Thanks for the wonderful package.

Unfortunately, it seems like there was a breaking change when upgrading to Meteor 1.4.4.2,

I imagine it has something to do with this.

Here is the message I see:

Exception in template helper: RangeError: Maximum call stack size exceeded
    at Object.Tracker.nonreactive (http://localhost:3000/packages/tracker.js?hash=997515fa2d5b0530ba07741da556c4b36963ef3b:636:32)
    at Object.getUserId (http://localhost:3000/packages/matb33_collection-hooks.js?hash=b7fc18c7d776e58d66a188512f4674b43f774712:67:13)
    at Mongo.Collection.collection.(anonymous function) [as findOne] (http://localhost:3000/packages/matb33_collection-hooks.js?hash=b7fc18c7d776e58d66a188512f4674b43f774712:156:25)
    at Object.signedUpUserIdFunc (http://localhost:3000/packages/brettle_accounts-patch-ui.js?hash=f28c2b5718e28fdd21c8227f1c1fcf35bc878d0e:53:27)
    at http://localhost:3000/packages/matb33_collection-hooks.js?hash=b7fc18c7d776e58d66a188512f4674b43f774712:68:40
    at Object.Tracker.nonreactive (http://localhost:3000/packages/tracker.js?hash=997515fa2d5b0530ba07741da556c4b36963ef3b:640:12)
    at Object.getUserId (http://localhost:3000/packages/matb33_collection-hooks.js?hash=b7fc18c7d776e58d66a188512f4674b43f774712:67:13)
    at Mongo.Collection.collection.(anonymous function) [as findOne] (http://localhost:3000/packages/matb33_collection-hooks.js?hash=b7fc18c7d776e58d66a188512f4674b43f774712:156:25)
    at Object.signedUpUserIdFunc (http://localhost:3000/packages/brettle_accounts-patch-ui.js?hash=f28c2b5718e28fdd21c8227f1c1fcf35bc878d0e:53:27)
    at http://localhost:3000/packages/matb33_collection-hooks.js?hash=b7fc18c7d776e58d66a188512f4674b43f774712:68:40

Thanks! -Lee

richardgsands commented 7 years ago

+1