- Issue created by @somersoft
- Status changed to Postponed: needs info
11 months ago 6:37pm 13 February 2024 - πΊπΈUnited States Kristen Pol Santa Cruz, CA, USA
Not sure I follow. Please add explicit steps to reproduce.
- Status changed to Needs review
11 months ago 9:49am 21 February 2024 - π¬π§United Kingdom somersoft
Create a Drupal instance with this module enabled and username validation enable.
Go through the registration process.
Here is where the password validation happens but the passed in account entity has not yet set the username field.
It may be that the enabled Email registration module is having affect. - Assigned to Kristen Pol
- πΊπΈUnited States Kristen Pol Santa Cruz, CA, USA
Thanks for providing more details. I will try to reproduce the issue.
- πΊπΈUnited States Kristen Pol Santa Cruz, CA, USA
I tested this and was able to create a new account with the user name check and it showed the error when I tried using the username. Thus, maybe you are correct and it's the email registration module that's causing an issue. I'll try with that.
- Status changed to Active
11 months ago 9:48pm 22 February 2024 - πΊπΈUnited States Kristen Pol Santa Cruz, CA, USA
I tested with the email registration module and see that it doesn't work with that so I've changed this to a feature request.
- Status changed to Needs work
11 months ago 9:50pm 22 February 2024 - πΊπΈUnited States Kristen Pol Santa Cruz, CA, USA
I see there is a patch and I just tried that but it doesn't work.
- Issue was unassigned.
- Status changed to Postponed: needs info
11 months ago 10:31pm 22 February 2024 - πΊπΈUnited States Kristen Pol Santa Cruz, CA, USA
I tried some other logic based on the email_registration module to get the email address and figure out the username from that but the email address isn't in
$user->getEmail()
or$user->getInitialEmail()
so not sure what to do here.