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.

CommentFileSizeAuthor
realname.patch602 bytesgurubert
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

NancyDru’s picture

Status: Needs review » Needs work

This patch causes the Username field to be blank.

NancyDru’s picture

Status: Needs work » Fixed

Fix committed on both branches.

NancyDru’s picture

Status: Fixed » Closed (fixed)
durum’s picture

NancyDru, 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.. =(

rmiddle’s picture

Duru,

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

bittindm’s picture

Version: 6.x-1.0 » 6.x-1.x-dev

Username 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.

durum’s picture

Robert, thanks for the kind reply. Do you think I can use the dev version on a production site?