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.
Hi,
The user edit form misses the username when the RealName module is enabled but "override username theme" is not. The $account->realname_save value will not be set in this condition but realname_form_alter() uses it to change the default value for the user edit form.
The attached patch checks if "override username theme" is set.
Comment | File | Size | Author |
---|---|---|---|
realname.patch | 602 bytes | gurubert | |
Comments
Comment #1
NancyDruThis patch causes the Username field to be blank.
Comment #2
NancyDruFix committed on both branches.
Comment #3
NancyDruComment #4
durum CreditAttribution: durum commentedNancyDru, hi.
Firstly, thanks for the useful module.
You say, "Fix committed on both branches". Which branches do you mean? Is it fixed in the dev version or in the patch available here?
I am using the RC3 version on a production site right now. For overcoming this issue, i have the 'Override username theme' option not enabled but i need it to be enabled to get the most of its use. If you fixed it in the dev version, is the dev version stable enough to use on a production site?
Tia,
Duru.
And, yes, i couldn't do the patch. I can only do patch in local with Cygwin basing on the information here. And as far as I understand from the patch provided here, it has to be done somewhere in ... uh .. very confusing.. =(
Comment #5
rmiddle CreditAttribution: rmiddle commentedDuru,
It means she has commited the fix to both the 5.x and 6.x branch in cvs and will apear within 24 hours in the current devel release. The Next Release will include the fix. Releases are fixed so no changes go in until you do a new release.
Thanks
Robert
Comment #6
bittindm CreditAttribution: bittindm commentedUsername still seems to be blank when "override username theme" is checked with the latest dev version except for the admin account.
Very useful module though. Let me know if I can help troubleshoot further.
Comment #7
durum CreditAttribution: durum commentedRobert, thanks for the kind reply. Do you think I can use the dev version on a production site?