Closed (duplicate)
Project:
Automatic User Names
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Dec 2010 at 20:40 UTC
Updated:
29 Jun 2013 at 08:42 UTC
Is there a way to have this module work with existing users? All existing users see "You must enter a username." when they attempt to update their account. Also seen here http://drupal.org/node/909668.
Thanks,
Patrick
Comments
Comment #1
alexkb commentedI've found this same issue occurs, if you've specified a pattern or php snippet that returns an empty value. i.e. if my pattern is set to '[uid]' I get the error, because at the point at which the username is calculated, a uid doesn't exist yet.
I've just been added as a co-maitainer for this module, so I see about getting this fixed, or at least have some better error logging.
Comment #2
flahertypj commentedThanks! My issue has been with profile fields. I use separate first and last name fields for form the username. It might be the order of which fields are validated first.
Thanks again,
Patrick
Comment #3
alexkb commentedSee #1168728: Using UID as the username pattern results in a blank.