User tests: Successful: Unsuccessful:
When a user registers on the frontend there are several validations before it's saved. After saving several emails are sent by the system. Now if the email sending fails for some reason the user is redirected back to the registration form and an error message is shown, although the user is registered. That means, if the user tries it again, it gets the message, that the username/email is already used. This makes not really sense, especially the user can't do anything with the error messages. So this PR does not redirect the user back to the registration form after the user is created. It also removed the "admin error messages" which should still be logged but not shown to the end user.
User is redirected back to form and get some errors which are not helpful:
Status | New | ⇒ | Pending |
Category | ⇒ | Front End com_users |
Labels |
Added:
PR-5.4-dev
|
I understand the reasons behind this PR (its the same problem as #29169) but the messages are still wrong. They still indicate that an email has been sent when it hasnt. So now the user will still search for an email and when its not been received will try again
Hi @brianteeman ,
thanks for the feedback. I'm not sure how to fix that, as it's hard to tell, if an email was sent or if something else failed. I hoped the message on top made it clear, what went wrong. Probably we could add something like: "They will get in touch with you."
I have tested this item ✅ successfully on cee8dc6
Tested clean J5.3.2 installation and this 5.4+PR update. All is ok.
I have tested this item ✅ successfully on cee8dc6
I have tested this successfully. Never encountered this situation but nice that it is getting updated :) Thanks Benjamin.
Status | Pending | ⇒ | Ready to Commit |
RTC
Labels |
Added:
RTC
|
My results from the last test before merging:
Send Mail
is disabled.smtphost
is changed to non-existing hostnameSend Mail
component/users/registration?layout=complete
As @brianteeman already stated:
They still indicate that an email has been sent when it hasnt.
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2025-07-12 05:51:42 |
Closed_By | ⇒ | muhme |
Thank you @bembelimen and all contributers, commentators and testers.
I understand the reasons behind this PR (its the same problem as #29169) but the messages are still wrong. They still indicate that an email has been sent when it hasnt. So now the user will still search for an email and when its not been received will try again