Buggy activation email false alarm?

Hi team.

We’re getting ready to launch (in four days) and as we put our install through its paces, we came across the alert above.

The path was:

Admin in Chrome browser:
• New user created (via csv bulk upload)
• Email invite sent

User (really just the admin testing the process in an incognito browser)
• Email accepted
• Users uses Discourse
• Not actively logged off
• Return to computer next day with incognito turned off
• Log out of admin profile
• Try to log into user profile (not in incognito)

Error occurs.

We see that this sort of false non-activation had been discussed here on the board previously and been declared dead.

We’re going to try to recreate this in new browsers, no incognito hocus pocus, but since we saw some other bugs (and we’re on the hosted plan, which means we can’t use those solutions) we want to raise our hands early and ask, “is this something real?”

THANKS

Seth and team

3 Likes

Sure @techapj can have a look, he has worked extensively on the invite system.

What scenarios would cause no_email_found to show up here Arpit?

3 Likes

I can reproduce this issue locally, working on a fix now.

4 Likes

Fixed via:

https://github.com/discourse/discourse/commit/0954367bf42fc09cb40a2bf1b6b5a3776c3d7439

The “redeem invite” code was not consistently sending “Confirm your new account” email if the user has already set password while accepting invite. This was causing error in email log and hence no_email_found.

Now invited user will always receive “Confirm your new account” email if they set password while accepting invite. Once they confirm their account the login flow will work perfectly.

@Seth_Godin Thank You for reporting this issue and providing detailed repro steps! :thumbsup:

This fix will be deployed on your instance early next week.

6 Likes

thank you @techAPJ

really appreciate the speedy resolution

I think this is the secret win of Discourse. Nice work @codinghorror

6 Likes

Hi @techAPJ ,

We were just doing some testing and we are still encountering the same issue. Can you please give us an update when it should be resolved?

Thanks!

What version of Discourse are you running (right click and view source)? This was only fixed recently.

Hi @jomaxro

We are on a paid hosting plan.

Thanks.
Sam

1 Like

This is probably going to have to wait 2 to 3 more days till we roll out the change.

We recently added a very sizable feature (user selectable themes) which needs a few days “to cook”, what we are doing now is gradually rolling the change out, but it will probably take a few more days till it hits your instance.

4 Likes

This topic was automatically closed after 2 days. New replies are no longer allowed.