Closed
Bug 900028
Opened 11 years ago
Closed 11 years ago
Can't install reviewer signed apps from Marketplace on 1.1
Categories
(Marketplace Graveyard :: Reviewer Tools, defect, P1)
Tracking
(Not tracked)
RESOLVED
FIXED
2013-08-01
People
(Reporter: eviljeff, Assigned: mat)
Details
(Whiteboard: [qa-])
Attachments
(1 file)
22.93 KB,
application/zip
|
Details |
Trying to install the test app I uploaded to make sure the redirects property works on 1.1 (https://marketplace.firefox.com/reviewers/apps/review/redirected) I get 'download stopped' on my 1.1 unagi. logcat shows the following: E/GeckoConsole( 107): Content JS INFO at app://system.gaiamobile.org/js/app_install_manager.js:197 in ai_handleDownloadError: downloadError event, error code is INVALID_IDS_JSON The same app installs on my 1.0.1 unagi; I have the same reviewer certs installed, with the same scripts, as on 1.0.1. This is going to stop all Marketplace reviewers from testing and approving apps that support 1.1.
Reporter | ||
Comment 1•11 years ago
|
||
attaching the zip file. All packaged apps from the reviewer tools I've tried fail to install, not just this app.
Reporter | ||
Updated•11 years ago
|
Severity: normal → major
OS: Windows 7 → Gonk (Firefox OS)
Hardware: x86_64 → ARM
Comment 2•11 years ago
|
||
That error points to: http://hg.mozilla.org/mozilla-central/annotate/ffd57aa81b5f/dom/apps/src/Webapps.jsm#l2649 Which was implemented in the 1.1 timeframe for verifying the ids.json file during install/update. Antonio probably has an idea why this is failing.
Flags: needinfo?(amac)
Updated•11 years ago
|
Component: Gaia → DOM: Apps
Product: Boot2Gecko → Core
Version: unspecified → Trunk
Comment 3•11 years ago
|
||
The version on the attached file is a string, and it should be a integer (that is, it should be: {"version": 1477934, "id": "48a3843e-5c64-4e07-84b7-ef53b7cdb669"} instead of {"version": "1477934", "id": "48a3843e-5c64-4e07-84b7-ef53b7cdb669"} I think it's failing because of that (as it should according to [1]) [1] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number/isInteger What are you using to sign the apps? I think the problem might be there. On bug 870920 the marketplace signing app was fixed to generate the ids.json correctly... this might have been left behind?
Flags: needinfo?(amac)
Updated•11 years ago
|
Component: DOM: Apps → Reviewer Tools
Product: Core → Marketplace
Version: Trunk → 1.0
Comment 4•11 years ago
|
||
Looks like this is a problem on the marketplace side - the version value is incorrectly a string, when it should be an integer. Rob - Can you look into this?
Flags: needinfo?(robhudson.mozbugs)
Updated•11 years ago
|
Priority: -- → P1
Target Milestone: --- → 2013-08-08
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → mpillard
Assignee | ||
Comment 5•11 years ago
|
||
I just submitted a PR for this, I'm not familiar at all with the signing code and I can't test it locally but it seems to fix it. https://github.com/mozilla/zamboni/pull/959
Status: NEW → ASSIGNED
Updated•11 years ago
|
Flags: needinfo?(robhudson.mozbugs)
Assignee | ||
Comment 6•11 years ago
|
||
Fixed in https://github.com/mozilla/zamboni/commit/cd615659a6a0eba39ffeff35147fb1f8676027e5
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Assignee | ||
Comment 7•11 years ago
|
||
Andrew said on IRC we couldn't test that on -dev, but I swear it should work!
Whiteboard: [qa-]
Assignee | ||
Updated•11 years ago
|
Target Milestone: 2013-08-08 → 2013-08-01
You need to log in
before you can comment on or make changes to this bug.
Description
•