Tags that begin with a capital letter with an accent or other diacritical mark do not show up in the autocomplete if no fandom is entered

Description

Originally reported on Google Code with ID 3623

What archive revision are you testing on?

v0.9.6.11

What steps will reproduce the problem?

  1. Start to enter a common/canonical tag that starts with a capital letter with a diacritical
    mark in a posting or search form

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

Expect to see the tag show up in the autocomplete list. Instead, do not.

These tags won't come up if you type the capital letter with the mark, the capital letter without the mark, or the lowercase letter with the mark.

If the letter with the diacritical mark is not the first letter of the tag, it won't have this problem and will properly appear.

Reported in ticket https://otw.16bugs.com/projects/4911/bugs/259586

From the ticket:

"Tags that start with capital letters with diacritics or some other upper-case special characters don’t come up in tag autofill – typing the capital letter will bring up tags with words that start with the lower-case version (if any) but not tags that begin with the upper-case version; the lower-case letter doesn’t bring up tags that use the upper-case either.

Examples of tags that won’t appear in autofill: Éomer ; Çagap ; Álvaro should bring up three different Sports RPF people but doesn’t; Østenfor should bring up ‘Østenfor sol og vestenfor måne | East of the Sun and West of the Moon’ but doesn’t.

Punctuation works, as do lower-case special characters, but so far every upper-case special character I’ve tried has had this problem."

Notes

This bug only happens if you don’t enter a fandom.

Autocomplete data will need to be regenerated for this fix to apply to existing tags.

Activity

Show:
Sarken
October 12, 2019, 3:32 AM

Updated the instructions and issue name to reflect that this bug only happens if there is no fandom entered.

Also retested and confirmed the behavior is mostly the same if I don’t enter a fandom. I say “mostly” because the suggestions become

  • Óin

  • Glóin & Óin’s Mother

whereas if I enter a fandom, the suggestions are

  • Glóin

  • Óin

  • Gróin

  • Gróin’s Canonical Wife

 

Izzy
October 12, 2019, 9:30 PM
Edited

I am a fool, and I tested on Production, not staging, which of course only reproduced the bug. I have deleted the comment because it adds no new information and was not useful.

I am happy to report that having tested on the TEST Archive, it works a lot better.

Entering É brings up Éowyn, Éomer, etc. under characters, whether or not a fandom is selected.

Entering “Éo”, “Éom”, “Éow” or similar brings up a narrowed list of characters as expected.

Similarly, if a fandom is selected, then appropriate characters for that fandom are prioritised in the suggestions, as expected.

On Production, the behaviour described for Characters was also true of Fandoms (that is, entering an accented letter such as É would show nothing beginning by É on the autocomplete). On Stating, the behaviour is better. If I type É it brings up “Olympia - Édouard Manet”, for example.

Tested it also on the filter siderbar, under “Other tags to include” Characters such as Éomer, relationships such as Éomer/Lothíriel and freeforms such as E/R/É Shipping Festival were all suggested.

Relle Veyér
October 12, 2019, 10:05 PM

Tested with Ólafur Árnason, a character who is completely impossible to make appear in the autocomplete on production if the fandom isn’t entered first. (Contrary to what the issue text says, the issue doesn’t apply to only the first letter in the tag – it seems to apply to the first letter of any word in the tag. Typing “Árnason” on production will not return any results. You can also see this with the fandom “Olympia - Édouard Manet” Izzy mentioned above.)

Typing “Ól” in the Characters field on the Post Work form, with no fandom selected, will make Ólafur Árnason appear in the autocomplete. Typing “Á” or “Ár” will also make it appear. Using the lowercase “ó” or “á” has the same result. Entering the fandom first also has the same result. Seems fixed now :D

redsummernight
November 10, 2019, 6:14 PM

Marking as PAOB since we haven't run bundle exec rake autocomplete:reload_data on beta yet.

redsummernight
December 21, 2019, 5:34 PM

We ran bundle exec rake autocomplete:reload_tag_data on beta on Dec 21. The task took ~3.5h for ~884k canonical tags.

Done

Assignee

ticking instant

Reporter

lady.oscar.ao3

Roadmap

Tags
Tag Wrangling

Priority

Medium

Affects versions

None

Fix versions

Components

BackEnd

Difficulty

None

Milestone

Internal 0.9

Google Code Issue ID

3623
Configure