Open Bug 1476479 Opened 6 years ago Updated 4 years ago

Auto-completion of username doesn't seem to match all possible users.

Categories

(bugzilla.mozilla.org :: General, defect)

Production
defect
Not set
normal

Tracking

()

People

(Reporter: markh, Unassigned)

References

(Depends on 1 open bug)

Details

(Keywords: regression)

Attachments

(2 files)

Attached image guigs.png
I was trying to CC a user into a bug and entered "guigs" into the CC field and it didn't match the user I was expecting, who has their username set as "guigs [guigs] PST (please needinfo me!)"

I believe this used to work, and is clearly the intent of the user that it does work. Possibly a regression from bug 1469911

See the attachment.
Attached image guigs2.png
And when I paste their email address in, "guigs" is clearly shown in the username popup
It's also case-sensitive now? A quick test shows:

"Guigs" -> 2 results
"guigs" -> 1 result

"Kohei" -> 8 results
"kohei" -> 4 results

"Yoshino" -> 3 results
"yoshino" -> 0 results
Blocks: 1469911
Flags: needinfo?(dylan)
Keywords: regression
guigs didn't have a nickname ([ircnick] doesn't work, it needs to begin with a colon).
This would also fail under the old system as 80% of queries include the colon.

As for the differences in case, currently space, non-ascii-ness, or initial-capitals trigger a fulltext search for the realname, but bare names match email or nickname. The reason for this is because realname search for common strings would be even more surprising for the common user.

I've taken the liberty of updating guigs realname to use the correct syntax for a nickname.

I think we can add in realname FTS, but I'll need to bias the relevance to be much smaller than the relevance for login name / nickname.
Flags: needinfo?(dylan)
Depends on: 1535685
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: