Closed
Bug 857930
Opened 12 years ago
Closed 11 years ago
Installing a packaged app that causes an error at download time leaves a broken app icon/text on the about:apps page
Categories
(Firefox for Android Graveyard :: Web Apps (PWAs), defect, P1)
Tracking
(fennec+)
RESOLVED
WORKSFORME
Tracking | Status | |
---|---|---|
fennec | + | --- |
People
(Reporter: jsmith, Unassigned)
References
Details
(Whiteboard: [A4A] [packagedapps])
Attachments
(1 file)
3.73 KB,
patch
|
fabrice
:
review-
|
Details | Diff | Splinter Review |
Device: Galaxy Nexus
OS: Android 4.2
STR
1. Install a packaged app that will cause an error at either install/download time. Examples:
* Install any packaged app from marketplace right now
* Install "Packaged App Test Case 1" from http://mozqa.com/webapi-permissions-tests/
Expected
We haven't implemented the download UI yet, so excluding that piece (since it's not implemented yet), I'd expect we would fail to install, but the failure should be clean - nothing left behind in the UI.
Actual
We fail to install, but a broken app icon/text gets left behind on the about:apps page. It's completely unfunctional as well if you try to click it. You can hard press to uninstall it, however.
Probably the simple fix here is that we should only add the app icon/text if the install is successful and not add it if we fail.
Reporter | ||
Comment 1•12 years ago
|
||
Errors during download of a packaged app actually is common use-case wise for a mobile device - you can get errors for many reasons such as:
* Loss of network connection (e.g. data/wifi loss)
* Bad signature (e.g. install any reviewer app without the right cert)
* Other odd random internal errors (e.g. archive corruption due to packet loss during download)
We shouldn't leave behind obvious broken UI on the basic error cases.
tracking-fennec: --- → ?
Priority: -- → P1
Whiteboard: [A4A]
Updated•12 years ago
|
Assignee: nobody → jhugman
tracking-fennec: ? → 22+
Updated•12 years ago
|
Whiteboard: [A4A] → [A4A] [packagedapps]
Comment 2•12 years ago
|
||
Attachment #738277 -
Flags: review?(fabrice.desre)
Attachment #738277 -
Flags: feedback?
Updated•12 years ago
|
Status: NEW → ASSIGNED
Reporter | ||
Comment 3•12 years ago
|
||
Comment on attachment 738277 [details] [diff] [review]
Delete failed web app from about:apps
I think you meant to flag fabrice's mozilla.com address.
Attachment #738277 -
Flags: review?(fabrice.desre) → review?(fabrice)
Comment 5•12 years ago
|
||
Comment on attachment 738277 [details] [diff] [review]
Delete failed web app from about:apps
Review of attachment 738277 [details] [diff] [review]:
-----------------------------------------------------------------
That's not the way to fix this bug. Here you are changing the backend behavior while the issue is in Fennec's frontent. For instance Gaia has the UI to restart failed downloads - I guess this is what you should do there, and use the installState if you want to hide apps that are in pending install state.
Attachment #738277 -
Flags: review?(fabrice) → review-
Reporter | ||
Updated•12 years ago
|
Attachment #738277 -
Flags: feedback?
Comment 7•11 years ago
|
||
Is this bug still relevant in the light of MOZ_ANDROID_SYNTHAPKS?
Assignee: jhugman → nobody
Comment 8•11 years ago
|
||
There's still an issue here. It seems like the app package is not registered properly in about:apps (this may be another in-progress open bug). Also noticed no application icon used in the APK.
Flags: needinfo?(jhugman)
Comment 9•11 years ago
|
||
(In reply to Aaron Train [:aaronmt] from comment #8)
> There's still an issue here. It seems like the app package is not registered
> properly in about:apps (this may be another in-progress open bug). Also
> noticed no application icon used in the APK.
I'm pretty sure this is a different issue, and I suspect it's also been resolved already.
Aaron: can you still reproduce it?
Flags: needinfo?(aaron.train)
Comment 10•11 years ago
|
||
All problems mentioned are now resolved on recent trunk builds.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Flags: needinfo?(aaron.train)
Resolution: --- → WORKSFORME
Updated•11 years ago
|
Flags: needinfo?(jhugman)
Updated•4 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•