CandyShop / gerrit

Automatically exported from code.google.com/p/gerrit
Apache License 2.0
1 stars 0 forks source link

Change reviewer lookup field doesn't work #1572

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
************************************************************
***** NOTE: THIS BUG TRACKER IS FOR GERRIT CODE REVIEW *****
***** DO NOT SUBMIT BUGS FOR CHROME, ANDROID, INTERNAL *****
***** ISSUES WITH YOUR COMPANY'S GERRIT SETUP, ETC.    *****
***** THOSE ISSUE BELONG IN DIFFERENT ISSUE TRACKERS!  *****
************************************************************

Affected Version:

What steps will reproduce the problem?
1. Create new change
2. Try typing existing user name into reviewer field

What is the expected output? What do you see instead?
Reviewer names matching entered pattern should pop up. There is nothing instead

Please provide any additional information below.
Gerrit Code Review (2.4) 

Original issue reported on code.google.com by YuriyPad...@gmail.com on 19 Sep 2012 at 9:02

GoogleCodeExporter commented 9 years ago
Note that the reviewer suggestion feature searches on user email addresses, not 
actual names.

If the user's name is "John Smith" and his email address is 
"jsmith@example.com" the suggestion won't work if you enter "john" but will 
work if you enter "js".

Original comment by david.pu...@sonymobile.com on 21 Sep 2012 at 8:22

GoogleCodeExporter commented 9 years ago
It searches actual names as well - but depending on the DB setup might be case 
sensitive.  David, in your example maybe try searching for 'Jo' to find by 
name?  This certainly works at https://gerrit-review.googlesource.com

Original comment by bklarson@gmail.com on 21 Sep 2012 at 2:36

GoogleCodeExporter commented 9 years ago
Oh, I see. But in my installation it starts showing suggestions only when I 
type whole name or surname, not when I type just one letter. 

Also it is case-sensitive, it could be because of DB setup, as I understood.

Original comment by YuriyPad...@gmail.com on 24 Sep 2012 at 2:05

GoogleCodeExporter commented 9 years ago

Original comment by bklarson@gmail.com on 24 Sep 2012 at 2:28

GoogleCodeExporter commented 9 years ago
2bklarson: 

Why does it behave the way I described in my comment? I mean part about late 
suggestions.

Original comment by YuriyPad...@gmail.com on 24 Sep 2012 at 2:43

GoogleCodeExporter commented 9 years ago
Sorry missed that part - is it possible the server was just slow at returning 
results?  If you type just a character or two and then wait a while, do you 
eventually see results?

If not, I suspect other changes have been made here which I am unaware of.

Original comment by bklarson@gmail.com on 24 Sep 2012 at 2:46

GoogleCodeExporter commented 9 years ago
No, It doesn't. It shows up immediately only when I type full name or surname. 
Waiting doesn't help :(

Original comment by YuriyPad...@gmail.com on 24 Sep 2012 at 3:32

GoogleCodeExporter commented 9 years ago
Are you using LDAP?

Original comment by gustaf.l...@sonyericsson.com on 21 Oct 2012 at 7:33