Closed Bug 829585 Opened 11 years ago Closed 11 years ago

Installing a packaged app with a small size, updating it on the server, check for updates, and download a large packaged app - app size is always 0 KB (see testcase in comment 2)

Categories

(Firefox OS Graveyard :: Gaia::System, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: jsmith, Unassigned)

References

()

Details

Attachments

(1 obsolete file)

Build: B2G 18 1/11/2013
Device: Unagi

Steps:

1. Install the small packaged app (~17 KB)
2. Update the mini-manifest on the server to the large packaged app (~20 MB)
3. Do a check for updates
4. Apply the packaged app update
5. Look at the notification bar

Expected:

The size should be the number of bytes downloaded.

Actual:

The size is always zero.

Additional Notes:

The "progress" value is reporting a value greater than zero here. Something
tells me there's a gaia bug here...

  "{f5a2d7a3-7e05-4c22-aacb-fd952047bd2c}": {

    "name": "Test WebAPI Permissions",

    "csp": "",

    "installOrigin": "http://mozqa.com",

    "origin": "app://{f5a2d7a3-7e05-4c22-aacb-fd952047bd2c}",

    "receipts": [],

    "installTime": 1357913359242,

    "manifestURL": "http://mozqa.com/webapi-permissions-tests/large_packaged_update/large_packaged_update.manifest",

    "appStatus": 1,

    "removable": true,

    "id": "{f5a2d7a3-7e05-4c22-aacb-fd952047bd2c}",

    "localId": 1024,

    "basePath": "/data/local/webapps",

    "progress": 20957079,

    "installState": "installed",

    "downloadAvailable": true,

    "downloading": false,

    "readyToApplyDownload": false,

    "downloadSize": 20466000,

    "lastUpdateCheck": 1357913359242,

    "etag": "\"2584e3-178-4d303c982d580\"",

    "packageEtag": "\"2584e4-4365-4d2ef56325b00\"",

    "installerAppId": 1012,

    "installerIsBrowser": true,

    "lastCheckedUpdate": 1357913508433,

    "retryingDownload": false

  }
blocking-b2g: --- → tef?
tracking-b2g18: --- → ?
Attached file Small Packaged App (obsolete) —
Attachment #701060 - Attachment is obsolete: true
Summary: Installing a packaged app with a small size, updating it on the server, check for updates, and download the packaged app - app size is always 0 KB (see attached testcase) → Installing a packaged app with a small size, updating it on the server, check for updates, and download a large packaged app - app size is always 0 KB (see attached testcase)
Summary: Installing a packaged app with a small size, updating it on the server, check for updates, and download a large packaged app - app size is always 0 KB (see attached testcase) → Installing a packaged app with a small size, updating it on the server, check for updates, and download a large packaged app - app size is always 0 KB (see testcase in comment 2)
On trunk Julien can't reproduce this bug, but on b2g18 I can reproduce it.

I'm going to retest this in tomorrow's build.
blocking-b2g: tef? → ---
tracking-b2g18: ? → ---
Keywords: qawanted
QA Contact: jsmith
Actually I'll just close the bug.
Status: NEW → RESOLVED
Closed: 11 years ago
Keywords: qawanted
Resolution: --- → WORKSFORME
No longer blocks: market-packaged-apps
No longer blocks: b2g-app-updates
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: