Closed
Bug 815547
Opened 12 years ago
Closed 12 years ago
[Apps] Inconsistent app attribute status when download error
Categories
(Core Graveyard :: DOM: Apps, defect)
Core Graveyard
DOM: Apps
Tracking
(blocking-basecamp:+, firefox18 fixed, firefox19 fixed, firefox20 fixed)
People
(Reporter: arcturus, Assigned: ferjm)
References
Details
(Whiteboard: [qa-])
Attachments
(1 file, 2 obsolete files)
12.04 KB,
patch
|
fabrice
:
review+
|
Details | Diff | Splinter Review |
Currently we have two ways of receiving a 'downloadError', in both we find some inconsistences. - By calling app.cancelDownload: -> Hosted App: (looking good) -> app.installState: pending -> app.downloading: false -> Packaged App: (looking not that good) -> app.installState: pending -> app.downloading: *true* - By network error: -> Hosted App: (looking good) -> app.installState: pending -> app.downloading: false -> Packaged App: (looking not that good) -> app.installState: *undefined* -> app.downloading: false
Reporter | ||
Updated•12 years ago
|
blocking-basecamp: --- → ?
Assignee | ||
Updated•12 years ago
|
Blocks: app-install
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → ferjmoreno
Comment 1•12 years ago
|
||
Assignee: ferjmoreno → fabrice
Updated•12 years ago
|
blocking-basecamp: ? → +
Assignee | ||
Comment 2•12 years ago
|
||
I can confirm that the previous patch works. I only added the fix for packaged apps error due to connection errors.
Updated•12 years ago
|
Attachment #686092 -
Flags: review+
Updated•12 years ago
|
Assignee: fabrice → ferjmoreno
Updated•12 years ago
|
Attachment #685589 -
Attachment is obsolete: true
Assignee | ||
Comment 3•12 years ago
|
||
More apps state love.
Attachment #686092 -
Attachment is obsolete: true
Attachment #686501 -
Flags: review?(fabrice)
Comment 4•12 years ago
|
||
Comment on attachment 686501 [details] [diff] [review] v3 Review of attachment 686501 [details] [diff] [review]: ----------------------------------------------------------------- I hate this code more and more. It's time for a state machine based rewrite...
Attachment #686501 -
Flags: review?(fabrice) → review+
Assignee | ||
Comment 5•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/5d2fb47b6278
Comment 6•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/5d2fb47b6278
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla20
Updated•12 years ago
|
Whiteboard: [qa-]
Comment 7•12 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/e8e4384f925a https://hg.mozilla.org/releases/mozilla-beta/rev/da8822dd0181
Updated•7 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•