Closed Bug 433431 Opened 17 years ago Closed 17 years ago

Searching for substring "flag" of "flagfox" doesn't find results

Categories

(addons.mozilla.org Graveyard :: API, defect)

defect
Not set
major

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: stephend, Assigned: laura)

References

Details

(Keywords: regression)

Attachments

(1 file)

When I set extensions.getAddons.search.url to https://remora-trunk.php5stage.mozilla.com/%LOCALE%/%APP%/api/%API_VERSION%/search/%TERMS%/all/10/%OS%/%VERSION%, and search for "flag" using Firefox 3 beta 5, I get "no matching add-ons". However, when I search for "fla" or "flagfox", I see the search result(s) I expect, respectively. Seems to work fine in production, that is, when extensions.getAddons.search.url is https://services.addons.mozilla.org/%LOCALE%/%APP%/api/%API_VERSION%/search/%TERMS%/all/10/%OS%/%VERSION%
Summary: Searching for substring "flag" of "flagfox" doesn't find results → Searching for substring "flag" or "flagfox" doesn't find results
Summary: Searching for substring "flag" or "flagfox" doesn't find results → Searching for substring "flag" of "flagfox" doesn't find results
The same set of searches through the regular UI work as expected, which isolates the bug somewhat.
Uh... bizarre. First thing I get with URL #1 is it yelling at me for an unknown certificate issuer, in an alert() no less. No part of that is nice. ;) After adding the exception I easily reproduced it. Even easier to reproduce by lazily clicking on the links in comment #1 and comment #2. Something is quite fubared somewhere.
Is "flag" somehow a reserved word somewhere?
The regression is caused by the fix for bug 415263. Revisiting and reopening that.
Assignee: nobody → laura
Depends on: 415263
Attachment #320643 - Flags: review?(cpollett)
Comment on attachment 320643 [details] [diff] [review] Fix 433431 by doing fix for 415263 a better way that even clouserw should like. patch fixes flagfox problem and also addresses other bug menioned above by Laura
Attachment #320643 - Flags: review?(cpollett) → review+
Attachment #320643 - Flags: review?(morgamic)
Attachment #320643 - Flags: review?(clouserw)
Fixed in r13083.
Status: NEW → RESOLVED
Closed: 17 years ago
Keywords: push-needed
Resolution: --- → FIXED
Verified FIXED with my testcase in comment 0; is the discrepancy between 8 results and 12 results in the 1st and 2nd URLs in comment 1 due to us not displaying sandboxed add-ons? (Anyway, that's not this bug, and probably not a bug...)
Status: RESOLVED → VERIFIED
Keywords: push-needed
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: