-
Notifications
You must be signed in to change notification settings - Fork 11k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Meteor 1.2 (HELP TO TEST) #852
Comments
👌 |
When creating a new account I am seeing in the console:
It fails on Account_servers.js part of Accounts-base in:
when running this line:
Because this.users is undefined. Accounts-Base used Meteor.users.insert in 1.2.0 but 1.2.1 uses this.users. Meteor.users still returns an object but this.users is undefined. Any reason why this.users on serverside would return as undefined in this case? |
EDIT: changed snippet to GIST which can be executed here. I would say this is an accounts-base bug. Thoughts? |
@gmsecrieru what makes you think meteor's code is trying to do this exactly? I don't think they are trying to access an instance variable through it's prototype. I think this is what we should expect to happen: https://gist.github.com/marceloschmidt/6d8cd7b38d1d9fb986f9 It doesn't explain why meteor's code isn't working though :( |
@marceloschmidt The The call to what-should-be users collection object is done from within |
Also, this is definitely something we did, because removing this piece of code makes it work again: https://github.com/RocketChat/Rocket.Chat/blob/master/server%2Flib%2Faccounts.coffee#L48-L59 I think you can close that issue you opened at Meteor and I'll focus on fixing this on our side. |
Yes, but if you look at |
But the triggered exception is coming from I20150927-09:52:09.883(-4)? Exception while invoking method 'registerUser' TypeError: Cannot call method 'insert' of undefined |
We just fixed that in b523eb9 |
👍 working on 1.2.0.2 |
Closing as Meteor 1.2 was already merged into |
Please help input: |
We updated the project to the, just released, Meteor 1.2.
The updated code is in this branch https://github.com/RocketChat/Rocket.Chat/tree/meteor-1.2 and we need help to test if is everything working.
The text was updated successfully, but these errors were encountered: