PR-5.4-dev Pending

User tests: Successful: Unsuccessful:

avatar bembelimen
bembelimen
26 Jun 2025

Summary of Changes

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.

Testing Instructions

  • Apply patch
  • Disable the email function in the configuration (Send Emails)
  • Register a new user

Actual result BEFORE applying this Pull Request

User is redirected back to form and get some errors which are not helpful:
grafik

Expected result AFTER applying this Pull Request

Registration was successful but warning shown:
grafik

avatar bembelimen bembelimen - open - 26 Jun 2025
avatar bembelimen bembelimen - change - 26 Jun 2025
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 26 Jun 2025
Category Front End com_users
avatar brianteeman
brianteeman - comment - 26 Jun 2025

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

avatar bembelimen bembelimen - change - 1 Jul 2025
Labels Added: PR-5.4-dev
avatar bembelimen
bembelimen - comment - 1 Jul 2025

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."

Add a Comment

Login with GitHub to post a comment