Closed Bug 620868 Opened 14 years ago Closed 14 years ago

Better error message for invalid version message from validator

Categories

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

defect

Tracking

(Not tracked)

VERIFIED FIXED
5.12.6

People

(Reporter: jbalogh, Assigned: basta)

Details

Attachments

(2 files)

Invalid version number error messages should be more useful than they are and say explicitly which version and application name is affected and give a link to the allowed versions at /pages/appversions.
Priority: -- → P3
STR: - validate attached add-on you see: Invalid maximum version number Error: The maximum version that was specified is not an acceptable version number for the Mozilla product that it corresponds with. Error: Version "2.0b1pre" isn't compatible with {a23983c0-fd0e-11dc-95ff-0800200c9a66}. This is best fixed in amo-validator itself, in testcases/targetapplication.py. Instead of guid, the application name should be displayed. And as mentioned, a link to https://addons.mozilla.org/en-US/firefox/pages/appversions/
Assignee: kumar.mcmillan → mbasta
Fixed: https://github.com/mattbasta/amo-validator/commit/dbd8cfbbf26dadde59d33990a789209389d3bda6 If the GUID is a recognized Mozilla application, it will display the friendly name instead of the GUID.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
This has been pushed to Zamboni. I don't see a link to https://addons.mozilla.org/pages/appversions/ but the error message reads a lot nicer.
Attached image Post-fix screenshot
Invalid maximum version number Error: The maximum version that was specified is not an acceptable version number for the Mozilla product that it corresponds with. Error: Version "2.0b1pre" isn't compatible with "fennec".
Verified FIXED.
Status: RESOLVED → VERIFIED
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: