Closed Bug 771147 Opened 13 years ago Closed 13 years ago

Unable to upload add-ons for new native UI fennec

Categories

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

x86
macOS
defect
Not set
major

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: kats, Unassigned)

Details

Attachments

(1 file)

I have an add-on that I wrote that only works on the new Fennec Native. When I try to upload it to AMO, after it passes validation, it says "Some platforms are not available for this type of add-on" and doesn't let me select any of the platforms (all the checkboxes are disabled). Hitting "continue" then gives me an error message that says "Need at least one platform". The addon is at people.mozilla.com/~kgupta/tmp/taptapwrap.xpi and it has the app id for Fennec Native in the install.rdf. I'm attaching a screenshot of the AMO upload page after I select my XPI.
I can confirm that this happens on staging as well. Even if I click on the Android platform before submitting, all checkboxes are cleared and disabled after the add-on is validated. I don't think this is a validation problem, since you're not getting the "no supported applications" error.
Severity: normal → major
Component: Add-on Validation → Developer Pages
It appears that this is happening because the list of app versions is out of date. If zamboni finds a targetApplication with a valid GUID but an unrecognized version, the targetApplication element is ignored. In this case, 16.* is not a recognized version of Android (yet). The newest recognized version is 16.0a1. Ideally, this should be fixed by having zamboni look at product_details and setting up a web hook to keep it constantly up-to-date. For now, though, @cvan is going to update appversions and that should fix the problem.
Keywords: regression
This is a not a regression.
Keywords: regression
Kartikaya, Mind trying to upload the add-on now? It should work.
Keywords: regression
Keywords: regression
Yup, works now. Thanks for the quick fix!
Status: NEW → RESOLVED
Closed: 13 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: