Getting the following error when clicking Send Activation Email to a new user
AI-generated summary
A user reports an error when attempting to send an activation email to a new user while the must approve users setting is enabled. Jose_C_Gomez provides screenshots of the error and confirms the issue persists after upgrading to version v1.9.0.beta2 +238. techAPJ initially cannot reproduce the issue but later confirms it and identifies the cause: the system prevents resending activation emails when user approval is required. A fix has been implemented to hide the “Send Activation Email” button in such cases to prevent confusion. techAPJ provides a link to the fix in the code repository.
Version v1.9.0.beta2 +107
Can you repro this @techapj?
I cannot repro this on https://try.discourse.org.
@Jose_C_Gomez make sure you are running on latest Discourse version. Also, do you see any relevant error in /logs ?
I upgraded to v1.9.0.beta2 +238 Latest
Still getting the same error
Only thing I see in logs is this but it appears to be related to a plug in
Okay, I can repro this issue with must approve users site setting enabled. Working on a fix now.
When must approve user site setting is enabled, resending activation email is not allowed as per:
https://github.com/discourse/discourse/commit/b584264d8280779e211a511486a067acd3fb8be5
I just pushed a fix to hide “Send Activation Email” button if must_approve_users setting is enabled, to avoid confusion.


