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.
When you've chosen not to include spaces in usernames, it would make sense not to include spaces existing within the fields that build the username.
Comment | File | Size | Author |
---|---|---|---|
#1 | user_import-534958.patch | 788 bytes | mlsamuelson |
Comments
Comment #1
mlsamuelson CreditAttribution: mlsamuelson commentedI don't know if stripping spaces from fields is best handled in user_import_create_username() when we have _user_import_sanitise_username() but the proper variable scope existed there...
Comment #2
mlsamuelson CreditAttribution: mlsamuelson commentedFixing typo in issue title.
Comment #3
gisleBumping version. This should be fixed in concert with #631408: On duplicate usernames concatenate the suffix without a space.