-
Notifications
You must be signed in to change notification settings - Fork 5.2k
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
FIX firing onLogin twice #11785
FIX firing onLogin twice #11785
Conversation
If I'm not mistaken, |
@jasongrishkoff, I do not like that call either. But...
|
I just looked at using |
@jasongrishkoff, thanks for giving me a little push. I was able to repurpose a local variable I created a new member variable |
@filipenevola, @StorytellerCZ, Can you bump this so it will rerun the checks? I did a commit update while it was running checks. I think that borked it. |
@filipenevola, @StorytellerCZ, Are the build tools somehow messed up? I am getting a stalled build. No test errors. |
Hi @brucejo75 , no, they are ok. I'm re-running. Let's see. |
@filipenevola, I ran the desktop version of the tests As a test I checked out
And like running the tests on the |
…llbacks, cannot use a shared variable.
@filipenevola, Ready to check in. I would value a review of the code. In addition to the regression tests I have been using the updated code and I no longer see multiple It is remotely possible that my last checkin fixed something that was borking the tests. Dunno! Thanks! |
Is there a way to bump this PR to try and get it into the 2.5.2 release? I'm running into an issue locally caused by this bug using the 2.5.1 build that this PR would resolve. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@filipenevola, @StorytellerCZ , any chance 2.6 could sweep this in? |
@renanccastro can you take a look. Might be a good candidate to be added to 2.5.4 as well. |
Fixes #10853 & #11446.
This was introduced by #10543 which fixed #10157.
I was cleaning up my github tasks and noticed that this PR was referenced in @namenotrequired comment. Someone should have mentioned me in the thread I would have responded earlier!
Problem: I used
this.connection._userId
as a test for whether the user was logged in. I should have usedMeteor.user()
.Sorry I goofed it up! This should fix it.