Closed
Bug 1741560
Opened 2 years ago
Closed 2 years ago
Unhelpful error message in case of unsigned add-on being installed via policy, but signing required
Categories
(Firefox :: Enterprise Policies, defect)
Firefox
Enterprise Policies
Tracking
()
RESOLVED
FIXED
96 Branch
Tracking | Status | |
---|---|---|
firefox96 | --- | fixed |
People
(Reporter: TbSync, Assigned: mkaply)
References
Details
Attachments
(1 file)
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:
TypeError: can't access property "id", install.addon is null
Reporter | ||
Comment 1•2 years ago
|
||
Do you want me to try to come up with a patch, or do you want to handle it yourself?
Flags: needinfo?(mozilla)
Assignee | ||
Comment 2•2 years ago
|
||
Updated•2 years ago
|
Assignee: nobody → mozilla
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•2 years ago
|
||
Thanks for the offer. I went ahead and did it because I was curious if there were any other issues. I think this catches things correctly.
The error that ends up showing (from policy) is:
Download failed - ERROR_SIGNEDSTATE_REQUIRED - file:///c:/users/mike/downloads/foo.xpi
Flags: needinfo?(mozilla)
Pushed by mozilla@kaply.com: https://hg.mozilla.org/integration/autoland/rev/43937ff9cf28 Handle unsigned XPI case in policy. r=john.bieling
Comment 5•2 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
status-firefox96:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch
Updated•2 years ago
|
QA Whiteboard: [qa-96b-p2]
You need to log in
before you can comment on or make changes to this bug.
Description
•