Closed
Bug 711717
Opened 13 years ago
Closed 12 years ago
Expose manifest errors during app installation
Categories
(addons.mozilla.org Graveyard :: Public Pages, defect, P2)
addons.mozilla.org Graveyard
Public Pages
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: cvan, Assigned: spasovski)
References
Details
https://myapps.mozillalabs.com/getmanifest was timing out, as a result it was taking up to 1 min to show "couldn't retrieve application manifest from network" errors. Upon subsequent attempts I was getting "502 Bad Gateway" errors. If we can't verify the manifest fast enough, we show first indicate status (perhaps by adding a loading throbber near the "Install App" button) and throw an error as soon as possible. As is, app installation just looks broken.
Updated•13 years ago
|
Priority: -- → P2
Updated•12 years ago
|
Comment 1•12 years ago
|
||
Sounds good. Potch is redoing these now in bug 734435
Reporter | ||
Comment 3•12 years ago
|
||
We used to handle many error cases (https://github.com/mozilla/zamboni/blob/master/./media/js/zamboni/apps.js#L48) but now we don't (https://github.com/mozilla/zamboni/blob/master/./media/js/mkt/apps.js). This bug is to expose those errors.
Assignee: thepotch → dspasovski
Summary: Show status if app installation times out → Expose manifest errors during app installation
Comment 4•12 years ago
|
||
this might be a good opportunity to activate JS tests for mkt. Having tests to cover our navigator.mozApps abstraction is really important, especially for error handling. These were the amo tests that can be copied over: https://github.com/mozilla/zamboni/blob/master/media/js/zamboni/tests/apps_tests.js
Assignee | ||
Comment 5•12 years ago
|
||
done: https://github.com/mozilla/zamboni/commit/f947955 @kumar: I will have to address the tests after Apr. 26th since they may need a slight rework (new error codes and no existing qunit tests).
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 6•12 years ago
|
||
Let us show more details about validation failures. http://cl.ly/1A1L032d3W0C0P0m1M0H is not very useful. Thanks!
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 7•12 years ago
|
||
We don't have access to more detailed errors - you'd have to open a bug in WebRT; we are displaying the values returned by the mozApps.install() function. Our translations are here: https://github.com/mozilla/zamboni/commit/f947955#L2R45
Status: REOPENED → RESOLVED
Closed: 12 years ago → 12 years ago
Resolution: --- → FIXED
Updated•8 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
•