No Code Attached Yet
avatar Attila-SWE
Attila-SWE
11 May 2023

Steps to reproduce the issue

  1. Enable that user need to activate their account themselves
  2. Frontend guest creates user account where username is same as e-mail

Expected result

Activation e-mail is sent

Actual result

Private message is sent to admin that activation e-mail couldn't be sent

System information (as much as possible)

Joomla 4.3.1
PHP 8.1.17

Votes

# of Users Experiencing Issue
1/1
Average Importance Score
5.00

avatar Attila-SWE Attila-SWE - open - 11 May 2023
avatar joomla-cms-bot joomla-cms-bot - change - 11 May 2023
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 11 May 2023
avatar brianteeman
brianteeman - comment - 17 May 2023

Unable to replicate
image

image

avatar Attila-SWE
Attila-SWE - comment - 17 May 2023

Unable to replicate

Could you please test with username === email address used for account?

So abc@abc.com for both username and email address.

In your image I understand that username != email

Thanks

avatar brianteeman
brianteeman - comment - 17 May 2023

Still no problem.

Admin received an email
image

User received an email
image

avatar Attila-SWE
Attila-SWE - comment - 17 May 2023

Still no problem.

Thank you for testing. Any suggestions to how I could go on with testing why I have issue? It has affected 100% of users (4) who tried to register with username === e-mail adress since upgrading to joomla 4 last week.

avatar Attila-SWE
Attila-SWE - comment - 23 May 2023

So. I have found issue.

Further testing gave error:

Prohibited input U+00000020

When user tries to register as above. Removing {USERNAME} from email template for user registration solves the issue.

So steps for reproducing error:

Add {USERNAME} to email subject for template com_users.registration.user.self_activation and retest.

avatar brianteeman
brianteeman - comment - 1 Aug 2023

Please test #41138

avatar brianteeman
brianteeman - comment - 1 Aug 2023

Can be closed as there is an PR

avatar Quy Quy - change - 1 Aug 2023
Status New Closed
Closed_Date 0000-00-00 00:00:00 2023-08-01 18:07:02
Closed_By Quy
avatar Quy Quy - close - 1 Aug 2023
avatar PetrChudoba73
PetrChudoba73 - comment - 4 Aug 2023

I did a test with 4.3.3 and I am not able use username === email using the standard registration.

avatar Quy
Quy - comment - 23 Aug 2023

@PetrChudoba73 Please test PR #41138 with PatchTester or manually changing the file which is a simple change in this case.

Add a Comment

Login with GitHub to post a comment