Closed
Bug 714160
Opened 14 years ago
Closed 14 years ago
apps: installs_allowed_from should not be required
Categories
(addons.mozilla.org Graveyard :: Add-on Validation, defect, P2)
addons.mozilla.org Graveyard
Add-on Validation
Tracking
(Not tracked)
VERIFIED
FIXED
6.3.9
People
(Reporter: ianbicking, Assigned: basta)
Details
Attachments
(1 file)
|
388 bytes,
application/x-web-app-manifest+json
|
Details |
The manifest property "installs_allowed_from" is not required; in its absence the value is assumed to be ["*"].
Also though both name and URL are defined for the "developer" property, neither are required - submitting with only a name gives an error.
Once you succeed you get a message "Your app passed validation with no errors and 1 message." - the one message being a positive "App confirmed." This is kind of distracting. Also in the detailed report this is called a warning.
Comment 1•14 years ago
|
||
(In reply to Ian Bicking (:ianb) from comment #0)
> This is kind of distracting. Also in the detailed report this is called a
> warning.
That is bug 677583.
Updated•14 years ago
|
Assignee: nobody → cvan
Target Milestone: --- → 6.4.0
Comment 3•14 years ago
|
||
basta, can you update the validator so it doesn't require installs_allowed_from in manifests?
Assignee: cvan → mattbasta
Priority: -- → P2
Updated•14 years ago
|
Assignee: mattbasta → nobody
Component: Public Pages → Add-on Validation
QA Contact: web-ui → add-on-validation
| Assignee | ||
Comment 4•14 years ago
|
||
Comment 5•14 years ago
|
||
I tried this manifest and still get the same error :
{
"name": "MozApps Hello World",
"description": "MozApps Hello World does absolutly nothing.",
"launch_path": "http://helloworld.webruntime.com/index.html",
"developer": {
"name": "Misfit Geek",
"url": "http://www.misfitgeek.com/"
},
"icons": {
"128": "icon128.png"
},
"installs_allowed_from": [
"*"
]
}
Comment 6•14 years ago
|
||
Merged: https://github.com/mozilla/amo-validator/commit/6a9875b526049efbbf541f84e90bca167f06d2ad
Pushed to AMO https://github.com/mozilla/zamboni/commit/43953c2
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 7•14 years ago
|
||
(In reply to JStagner@Mozilla.com from comment #5)
> I tried this manifest and still get the same error :
what error are you getting? and which site are you submitting to? the code has not been deployed yet.
Comment 8•14 years ago
|
||
I'm submitting here :
https://apps-preview.mozilla.org/en-US/developers/app/submit/2
And getting this error :
General Tests
1 error, 0 warnings
App: JSON Parse Error
Error: The webapp extension could not be parsed due to a syntax error in the JSON.
Updated•14 years ago
|
Summary: apps: installs_allowed_from should not be required, developer.url should not be required → apps: installs_allowed_from should not be required
Updated•14 years ago
|
Assignee: nobody → mattbasta
Target Milestone: 6.4.0 → 6.3.9
Comment 9•14 years ago
|
||
btw I made bug 721098 for the developer.url bug
| Assignee | ||
Comment 10•14 years ago
|
||
(In reply to JStagner@Mozilla.com from comment #8)
> General Tests
> 1 error, 0 warnings
> App: JSON Parse Error
>
> Error: The webapp extension could not be parsed due to a syntax error in the
> JSON.
This means that the JSON for your manifest isn't written properly. Attach the file that you're submitting and I'll have a look.
Comment 11•14 years ago
|
||
As I mentioned here, https://bugzilla.mozilla.org/show_bug.cgi?id=721051#c4, the launch_path is incorrect.
Comment 12•14 years ago
|
||
JSONLint validates it as valid JSON
Comment 13•14 years ago
|
||
(In reply to JStagner@Mozilla.com from comment #8)
> Error: The webapp extension could not be parsed due to a syntax error in the
> JSON.
I can't reproduce this error when copying/pasting your json into a manifest http://people.mozilla.com/~kmcmillan/bug714160.webapp
Can you paste the URL to the manifest you are using? It might be another encoding issue.
Comment 14•14 years ago
|
||
I removed the launch path entry and still get the error :
http://helloworld.webruntime.com/manifest.webapp
Comment 15•14 years ago
|
||
Aha, this is the BOM error again. I created bug 721103 for it. Thanks!
Comment 16•14 years ago
|
||
Yes ! I stripped the BOM with vi and the file now parses.
Comment 17•14 years ago
|
||
installs_allowed_from is not a required field anymore.
Status: RESOLVED → VERIFIED
Updated•10 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.
Description
•