Closed Bug 861793 Opened 12 years ago Closed 12 years ago

[updates] Checking for an app update that contains the same filename, but different app manifest/contents fails to find the app update

Categories

(Core Graveyard :: DOM: Apps, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: jsmith, Unassigned)

Details

(Keywords: regression)

Attachments

(3 files)

Build: B2G 18 4/15/2013 Device: Unagi STR 1. Install a packaged app 2. Change the packaged app on the server to have different app contents and a different manifest.webapp, but keep the zip file name the same 3. Check for updates on the phone Expected An update available should be found for that app. Actual No update available is found.
blocking-b2g: --- → tef?
Keywords: regression
Attached file Before Update
Attached file After Update
Attached file Webapps JSON
Have you changed the update (mini manifest) file too ?
(In reply to Julien Wajsberg [:julienw] from comment #4) > Have you changed the update (mini manifest) file too ? No. I kept the mini-manifest the same, but only changed the resulting zip file. So in that case, the etag of the mini-manifest stayed the same, but the packaged app etag changed.
Actually now given comment 5, this probably doesn't block. Marketplace's use case for updating apps requires modification of the mini-manifest, so we'll never hit this issue with users making use of marketplace. We might still want to fix this eventually, however.
blocking-b2g: tef? → ---
I really think this was wanted: if the mini manifest is not changed, we don't bother checking the packaged zip. This is also desirable if the server does not support ETag: since we don't support "If-Modified-Since" yet, we would need to download the package to check its hash. We don't want do to that if the mini manifest hasn't changed. So I'm very tempted to close WONTFIX.
Fair enough, sounds fine to me to close then.
No longer blocks: b2g-app-updates
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: