Fix installs_allowed_from message for marketplace in validator

RESOLVED FIXED in 6.4.3

Status

addons.mozilla.org Graveyard
Add-on Validation
P3
normal
RESOLVED FIXED
6 years ago
2 years ago

People

(Reporter: kumar, Unassigned)

Tracking

unspecified
6.4.3
x86
Mac OS X

Details

If you upload an app with a bad install manifest it says this:

Error: To be included on https://apps-preview.mozilla.org, a webapp needs to include https://apps-preview.mozilla.org as an element in the 'installs_allowed_from' property.

That should be changed to:

Error: To be included on https://marketplace.mozilla.org, a webapp needs to include https://marketplace.mozilla.org or a `*' (wildcard) as an element in the 'installs_allowed_from' property.

Changes are:
- update the code that checks this property to allow marketplace.mozilla.org and marketplace-dev.allizom.org as install destinations (IMPORTANT: we should still *allow* apps-preview as a destination because they are demo'ing with that at MWC)
- replace apps-preview with marketplace in the error message
- mention that you can use a * too in the error message
Blocks: 710074
Priority: -- → P3
Target Milestone: --- → 6.4.3
Pushed to AMO https://github.com/mozilla/zamboni/commit/799a0f4
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
(Assignee)

Updated

2 years ago
Product: addons.mozilla.org → addons.mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.