Updating an WebExtension from AMO not working

RESOLVED INVALID

Status

()

Toolkit
Add-ons Manager
RESOLVED INVALID
2 years ago
2 years ago

People

(Reporter: andym, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

2 years ago
## Firefox version tested on:
Firefox 43.0.4

Test webextension used:
https://addons-dev.allizom.org/en-US/firefox/addon/shutterstock-tab/

Steps to reproduce:
1. Install a web extension version from addons-dev
2. Ensure in about:config that extensions.update.url is set to https://versioncheck-dev.allizom.org/update/VersionCheck.php?reqVersion=%REQ_VERSION%&id=%ITEM_ID%&version=%ITEM_VERSION%&maxAppVersion=%ITEM_MAXAPPVERSION%&status=%ITEM_STATUS%&appID=%APP_ID%&appVersion=%APP_VERSION%&appOS=%APP_OS%&appABI=%APP_ABI%&locale=%APP_LOCALE%&currentAppVersion=%CURRENT_APP_VERSION%&updateType=%UPDATE_TYPE%&compatMode=%COMPATIBILITY_MODE%
3. Make sure the web extension has an update which is approved and public
4. Tools -> Add-ons; check for updates

Expected behavior:
Update for webextension shows up.

Actual behavior:
Updates for regular add-ons show up but updates for webextensions are not getting listed in the add-ons manager, no update occurs.

about:support info
https://pastebin.mozilla.org/8856416

Console log:
https://pastebin.mozilla.org/8856415 is from the console. It clearly says  addons.update-checker      DEBUG Found an update entry for addon23@example.com version 1.2.3

Copied over from https://github.com/mozilla/olympia/issues/1318

Currently blocking webextensions 1.0
(Reporter)

Comment 1

2 years ago
Noted that this addon: https://addons-dev.allizom.org/en-US/firefox/addon/1201addon1 updates just fine.
The add-on here has a maxVersion of 42.* and WebExtensions aren't compatible by default so that is respected and Firefox 43 doesn't install the update. Unless you want to change that this is back to AMO I think.
Status: NEW → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.