Closed Bug 1741561 Opened 4 years ago Closed 4 years ago

Unhelpful error message in case of unsigned add-on being installed via policy, but signing required

Categories

(Thunderbird :: Upstream Synchronization, task)

task

Tracking

(thunderbird_esr91 wontfix)

RESOLVED FIXED
96 Branch
Tracking Status
thunderbird_esr91 --- wontfix

People

(Reporter: john, Assigned: john)

References

Details

Attachments

(1 external file)

Port bug #1741560 to Thunderbird (we probably do not need it, but let us keep using the same code as much as possible)

+++ This bug was initially created as a clone of Bug #1741560 +++

Policies.jsm fails to detect if the add-on being installed by policy fails because of not being signed, even though that is required. It fails with an unhelpful error message here:

https://searchfox.org/mozilla-central/rev/df18dd52da04ee2bad434b0ba2d9fcb196d4d15e/browser/components/enterprisepolicies/Policies.jsm#2442

TypeError: can't access property "id", install.addon is null

Target Milestone: --- → 96 Branch

Pushed by geoff@darktrojan.net:
https://hg.mozilla.org/comm-central/rev/435ae1df5613
Port bug 1741560 to Thunderbird (Handle unsigned XPI case in policy). r=mkmelin

Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: