Issue 3612: Gerrit HTTP authentication nullifies users full nam
Status:  Submitted
Owner: ----
Closed:  Nov 12
Reported by nada...@trueaccord.com, Oct 16, 2015

Affected Version: 2.11.4

What steps will reproduce the problem?
1. Set up gerrit to use http authentication where it receives user name, display name and *external id* via headers.
2. Log in a user.
3. Log out.
4. Log in again.

What is the expected output? What do you see instead?

Observe the user full name gets nullified in accounts.full_name.


Please provide any additional information below.

In HttpLoginServlet.java, the call to accountManager.updateLink passes a dummy AuthRequest instance where the displayName field is not set. Then eventually in accountManager.update() the empty display name overrides the user's original full name.
Oct 17, 2015
Project Member #1 david.pu...@sonymobile.com
https://gerrit-review.googlesource.com/#/c/71661/
Status: ChangeUnderReview
Nov 12, 2015
Project Member #2 nas...@grainawi.org
(No comment was entered for this change.)
Status: Submitted
Nov 12, 2015
Project Member #3 nas...@grainawi.org
(No comment was entered for this change.)
Labels: FixedIn-2.11