Closed Bug 839864 Opened 12 years ago Closed 12 years ago

hosted+appcache > installState is always set to "installed" at reboot while it should stay "pending"

Categories

(Core Graveyard :: DOM: Apps, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 839071

People

(Reporter: julienw, Unassigned)

Details

STR:
* start the install of the app at http://everlong.org/mozilla/selfupdatinghosted/
* reboot the phone while downloading
=> we can see an appcache error in logs, which is expected.

Expected:
* at reboot, we have the "pending" icon

Actual:
* we have the app icon which means the phone thinks it is installed.
* looking in /data/local/webapps/webapps.json, we see the installState is "installed".

I'm not sure but I think the problem is: when we reboot, the phone is doing a checkForUpdate but we don't have the network yet, and for some reason, we reset the installState to "installed".

User impact: when the user will open the app, the appcache will be downloaded whereas he thinks the app is installed and so the appcache would be ready ot be used.
Same result if we cancel the download before rebooting.
Blocks: app-install
seems I like to open the same bug twice in 4 days.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
No longer blocks: app-install
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.