Closed Bug 570563 Opened 15 years ago Closed 14 years ago

Do not allow developers to specify platforms for search engines

Categories

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

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
5.12.3

People

(Reporter: krupa.mozbugs, Assigned: andy+bugzilla)

References

()

Details

(Whiteboard: [z])

Attachments

(2 files)

Attached image disabled button
user agent:Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 steps to reproduce: 1.Go to https://preview.addons.mozilla.org/en-US/firefox/addon/129686/ 2.Notice that the install button is faded-out. 3.Log in as an admin and navigate to the edit add-on page->versions and Files.Check if the developer has set the platform to anything expected behavior: Search engines are platform independent.So developers should not be given the option to choose platforms when they upload search engines. actual behavior: We allow developers to specify platforms for search engines because of which,some search engines have faded-out install buttons
Attached image platform set
Blocks: 502473
No longer blocks: 502473
Depends on: 592547, 602911
Target Milestone: --- → 5.12.3
Assignee: nobody → amckay
After chatting to Wil, also need to: - set the platform to all if the file is for a search engine addon - migrate all search engine addon files with a platform other than All to be All - do something with any conflicts (hope there aren't any)
There's about 20 search engine type Addon - Version combinations with more than one file (in my data set, so likely more on production).
https://github.com/jbalogh/zamboni/commit/e06830ed8ef5836be4c2d1e44ecc0f597e1e021d There's two management commands to run: manage.py search_platforms --report This will list all the addons that have a conflict, by setting the platform to All, you've now got multiple files for that version and platform. And by extension multiple install buttons. In testing there's about 20 of these and no obvious easy system to cleaning them. This can be done at any time and run multiple times until happy with the data. manage.py search_platforms --change This will change any search add on platforms that aren't all to be All.
Status: NEW → RESOLVED
Closed: 14 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.

Attachment

General

Created:
Updated:
Size: