Issue 2920: Change Add Reviewers not suggesting names from prefix
Status:  Released
Owner: ----
Closed:  Dec 2
Reported by philippe...@gmail.com, Sep 20, 2014
************************************************************
***** 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: 2.9.1

What steps will reproduce the problem?
1. install 2.9.1, configured using mysql, LDAP
2. create users either by sign in or by create-account command; in this case I used "gerrit create-account --group Developers --full-name "Humulus Lupus" --email "hlupus@mailinator.com" "
3. type the prefix of user names in a change Add Reviewers text field

What is the expected output? What do you see instead?
- I expect to see the Reviewer's name to be suggested when I type an H.
Typing in the complete user name results in the name being suggested (see the attached screenshots).
Group names are suggested by prefix. 
The suggestion is also case-sensitive.

Please provide any additional information below.
- This worked for me in a 2.9-rc1 instance using OPENID and postgres.

Screen Shot 2014-09-20 at 8.58.27 AM.png
58.7 KB   View   Download
Screen Shot 2014-09-20 at 8.58.16 AM.png
69.2 KB   View   Download
Mar 13, 2015
#1 stephen....@gmail.com
W.r.t. the same feature, there are some nasty race/timing/hang conditions in the auto-complete:

* Sometimes I'll type a first name and the auto-complete won't any names even though there are many people will that first name.

* Sometimes I'll type a full name and the auto-complete won't even return that exact name for me to select, perhaps due to slow network?.

* Sometimes I'll type a first name, see no results, continue typing out the full name in an attempt to trigger a match, see the correct single entry in the auto-complete list, press [enter] to select it, only to have the completion list for the first name pop up right then, so that my [enter] keypress selects the first person with a matching first name, which is invariably the wrong person.

The whole auto-complete code needs some cleanup.
Dec 2, 2015
#2 vlad.khudyakov
Same issue still on 2.11.x (MysQL backend)
Dec 2, 2015
Project Member #3 ekem...@google.com
Fixed by:
  https://gerrit-review.googlesource.com/67570

Please note that you must configure full text search for this:
  https://gerrit-review.googlesource.com/Documentation/config-gerrit.html#suggest.fullTextSearch
Status: Released
Labels: FixedIn-2.11.1