Closed Bug 500512 Opened 16 years ago Closed 16 years ago

Add-ons listed twice in search results if they have a localized name for the current locale

Categories

(addons.mozilla.org Graveyard :: Public Pages, defect)

defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: axcy72n02, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; de-DE; rv:1.9.0.5) Gecko/2008120122 Firefox/3.0.5 Build Identifier: If an experimental addon appears to be first one in the search results page, it is listed twice. Seems only to appear on the german addon site, not the english one. Originally found with addon "Vlc context menu" Another random example: search for "SnomDial". Reproducible: Always Steps to Reproduce: 1. enter "vlc" in the search field at http://addons.mozilla.org/de 2. enter "kontextmenü" and scroll the list to find the same addon 3. enter "vlc" at the english site - http://addons.mozilla.org Actual Results: 1. -> addon 12042 is listed twice 2./3. -> is listed once Expected Results: in the special case of 1. the addon should be listed once only, as in 2. and 3.
Easily reproduced; confirmed. Tried a few other locales with the same example but didn't get the duplicate. Not sure what's triggering this.
Severity: normal → major
Status: UNCONFIRMED → NEW
Ever confirmed: true
OS: Windows Vista → All
Hardware: x86 → All
Summary: sandbox addon is listed twice in search results list → sandbox addon is listed twice in search results list under German locale
Depends on: 503113
Depends on: 498999
No longer depends on: 503113
It doesn't seem to be restricted to sandboxed add-ons in any noticeable way. Example from bug 502946: https://addons.mozilla.org/pt-BR/firefox/search?q=Paula&cat=all I can even get it for myself under the certain locales: https://addons.mozilla.org/de/firefox/search?q=crash&cat=all https://addons.mozilla.org/el/firefox/search?q=crash&cat=all Crash Report Helper shows twice for these locales, but not here: https://addons.mozilla.org/ja/firefox/search?q=crash&cat=all Maybe due to me having a localized name (and other strings) for de and el but not ja?
Summary: sandbox addon is listed twice in search results list under German locale → Add-ons listed twice in search results list under certain locales
(In reply to comment #3) > Maybe due to me having a localized name (and other strings) for de and el but > not ja? Yep, just confirmed my theory. I added a Japanese string for the name for Crash Report Helper on preview (currently same as en-US string). String changes take effect immediately, however it took a while but it eventually started showing a duplicate entry in the search results. https://preview.addons.mozilla.org/ja/firefox/search?q=crash+report+helper&cat=all It seems that if an add-on has a localization for its name it gets a duplicate search result.
Summary: Add-ons listed twice in search results list under certain locales → Add-ons listed twice in search results if they have a localized name for the current locale
Refining Daves theory: add-on appears twice if search term happens to be contained in the english (fallback?) and localized name. Crash reporter: https://addons.mozilla.org/de/firefox/search?q=absturz&cat=all -> once https://addons.mozilla.org/de/firefox/search?q=crash&cat=all -> twice Vlc context menu: https://addons.mozilla.org/de/firefox/search?q=vlc+kontextmenü&cat=all -> once https://addons.mozilla.org/de/firefox/search?q=vlc&cat=all -> twice From the database point of view this seems to make sense.
seems to be fixed with 498999
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.