Originally created by: larryhoward
When display_name is not passed to update in controllers/auth.py and the auth.method is local, the user's display_name is set to the default parameter value None. And since display_name is not in User Preferences, this problem is unrecoverable via the UI.
Recommend adding display_name to User Preferences or guard in update.
To confirm fix on js/1919:
1) Set auth.method = local in your ini file.
2) Log in and go to user's prefs page (/auth/prefs/)
3) Scroll down to display name, empty the field, and try to save the form.
4) Error message will appear.
5) Now put a name in the box, save the form, and make sure it updates as expected.
Looks good, merged.
Larry,
Thanks for reporting this - the fix is now available in our public repo on the 'dev' branch. Let us know if you have any trouble with it, or other feedback about Allura.
Originally by: warjan
I can't change "Display Name" on my https://sourceforge.net/auth/prefs/ prefrences page. After changing the "Display Name" field I see Error Display Name cannot be empty. I neither can change "Email format" combo value. Same error. Is this related?
warjan, I've filed this as a new ticket [#2176]
Related
Tickets:
#2176