Closed Bug 1976490 Opened 3 months ago Closed 2 months ago

`addon-install-error-file-access` string doesn't (always?) have an add-on name

Categories

(Toolkit :: Add-ons Manager, defect, P3)

defect

Tracking

()

RESOLVED FIXED
143 Branch
Tracking Status
firefox143 --- fixed

People

(Reporter: willdurand, Assigned: willdurand)

Details

Attachments

(2 files)

In https://www.reddit.com/r/firefox/comments/1lv9aaj/unable_to_add_firefox_extensions/, I noticed one of the screenshots was displayed an odd popup (cf. attached screenshot). It looks like $addonName isn't replaced because there is no add-on name, likely because we cannot read it from the file.

We should probably change that string to not include the add-on name since we might never have an add-on name. This specific error is set here: https://searchfox.org/mozilla-central/rev/b63f8c50a3398aff80d2a5f185a90dcdba47f419/toolkit/mozapps/extensions/internal/XPIInstall.sys.mjs#2475

Attachment #9499520 - Attachment description: WIP: Bug 1976490 - Update `addon-install-error-file-access` string to not include the add-on name. r?rpl! → WIP: Bug 1976490 - Add new variants for the `addon-install-error-file-access` string when the add-on name is missing. r?rpl!
Assignee: nobody → wdurand
Attachment #9499520 - Attachment description: WIP: Bug 1976490 - Add new variants for the `addon-install-error-file-access` string when the add-on name is missing. r?rpl! → Bug 1976490 - Add new variants for the `addon-install-error-file-access` string when the add-on name is missing. r?rpl!
Status: NEW → ASSIGNED
Pushed by wdurand@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/4b16078bfdda https://hg.mozilla.org/integration/autoland/rev/d256d2155ab4 Add new variants for the `addon-install-error-file-access` string when the add-on name is missing. r=rpl,fluent-reviewers,bolsson
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 143 Branch
QA Whiteboard: [qa-triage-done-c144/b143]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: