Closed Bug 1738458 Opened 4 years ago Closed 4 years ago

Think about checking all installed add-ons for updates on app upgrade

Categories

(Thunderbird :: Add-Ons: General, task)

Tracking

(thunderbird_esr91+ fixed, thunderbird95+ fixed)

RESOLVED FIXED
96 Branch
Tracking Status
thunderbird_esr91 + fixed
thunderbird95 + fixed

People

(Reporter: TbSync, Assigned: TbSync)

References

Details

Attachments

(1 file)

Here we probably only check for appDisabled add-ons, but not for normal add-ons, which could have a newer/better version available (and the current one incorrectly not marked as incompatible)

https://searchfox.org/comm-central/source/mail/components/MailGlue.jsm#452-454

While creating a test case for this bug, I saw that even the expected case (update rendered an add-on incompatible) is not causing the add-on to update.

STR:

What this bug is actually about is to update add-ons if there is a new version available for the new platform, even if the current installed version is not defined incompatible. Consider
v1.0: https://github.com/jobisoft/github-based-release-example/blob/versions/bug1738458/1.0/manifest.json
v1.1: https://github.com/jobisoft/github-based-release-example/blob/versions/bug1738458/1.1/manifest.json

v1.1 might use new API feature introduced in TB91 or v1.0 may in fact be incompatible with TB91, as some API could have been deprecated. When updating to TB91, version v1.1 should be automatically installed.

Removing the check for startupChanges (which does not seem to work anymore) fixes both.

Assignee: nobody → john
Status: NEW → ASSIGNED

Add-ons not being updated on app upgrade always caused a big uptick in support requests and even breaking TB due to incompatibilities.

Target Milestone: --- → 96 Branch

Pushed by mkmelin@iki.fi:
https://hg.mozilla.org/comm-central/rev/6b660426434a
Update add-ons if new version of Thunderbird has been installed. r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED

Comment on attachment 9249214 [details]
Bug 1738458 - Update add-ons if new version of Thunderbird has been installed. r=mkmelin

[Approval Request Comment]
Regression caused by (bug #):
User impact if declined:
Add-on might not update on app upgrade

Testing completed (on c-c, etc.):
Risk to taking this patch (and alternatives if risky):
Very low.

Attachment #9249214 - Flags: approval-comm-beta?

Comment on attachment 9249214 [details]
Bug 1738458 - Update add-ons if new version of Thunderbird has been installed. r=mkmelin

[Triage Comment]
Approved for beta

Attachment #9249214 - Flags: approval-comm-beta? → approval-comm-beta+

Comment on attachment 9249214 [details]
Bug 1738458 - Update add-ons if new version of Thunderbird has been installed. r=mkmelin

[Approval Request Comment]
Regression caused by (bug #):
User impact if declined:
Add-on might not update on app upgrade

Testing completed (on c-c, etc.):
Risk to taking this patch (and alternatives if risky):
Very low.

Attachment #9249214 - Flags: approval-comm-esr91?

Comment on attachment 9249214 [details]
Bug 1738458 - Update add-ons if new version of Thunderbird has been installed. r=mkmelin

[Triage Comment]
Approved for esr91

Attachment #9249214 - Flags: approval-comm-esr91? → approval-comm-esr91+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: