Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Users are generated with invalid e-mails following the format user@foo
If you go in and try to edit the generated user during manual testing you have to type in a valid e-mail address to make any changes or delete the user account.
Comment | File | Size | Author |
---|---|---|---|
#9 | invalid_emails-1465772-9.patch | 615 bytes | xjkwak |
#6 | 1465772-6-valid_but_false_email_addresses.patch | 955 bytes | xamanu |
Comments
Comment #1
salvisI suspect this is intended behavior, because we don't want your server to try to send any e-mails to devel_generated users.
The benefit of this safeguard looks greater than your inconvenience (you seem to be the first person to notice this). I agree that having to enter a valid e-mail address just to delete an account is a pain, but that's a feature of core...
Comment #2
mrf CreditAttribution: mrf commentedNo need to use a working e-mail, just one that validates. See http://tools.ietf.org/rfc/rfc2606.txt
Seems strange that we would want to create accounts that behave exactly like real user accounts except in this one way. It is impossible to create an account through the UI without a valid email.
Comment #3
salvisWell, maybe you get a more favorable answer from moshe...
Comment #4
pcambraTagging, let's try to give this a second though in the sprint
Comment #5
salvisI suppose we could change user@foo to user@foo.invalid
Comment #6
xamanu CreditAttribution: xamanu commentedI agree and I like the proposal of using as tld .invalid. Here is a patch for that.
Comment #7
juampynr CreditAttribution: juampynr commentedFixed. Thanks!
http://drupalcode.org/project/devel.git/commit/a98e8e9
Comment #8
juampynr CreditAttribution: juampynr commentedThis should be tested against Drupal 7.
Comment #9
xjkwak CreditAttribution: xjkwak commentedA invalid extension has been added to the mail.
Comment #10
LGLC CreditAttribution: LGLC commentedPatch applied and tested, and all looks good.
Comment #11
pcambraThanks all, committed!