Closed Bug 1632058 Opened 4 years ago Closed 2 years ago

distribution.id preference is sometimes accessed from the default branch, sometimes as a normal preference

Categories

(Firefox :: Distributions, defect, P3)

defect

Tracking

()

RESOLVED FIXED
98 Branch
Tracking Status
firefox98 --- fixed

People

(Reporter: standard8, Assigned: mkaply)

Details

Attachments

(1 file, 1 obsolete file)

On working on another bug, we just noticed that the distribution.id preference is sometimes referenced from the default branch, sometimes from the normal "user" preference branch.

I'm guessing that it may have been originally intended that the distribution.id preference was set on the default branch so users couldn't mess with it, and it would be more difficult for third-party apps to intervene and set.

Whichever way we decide to go, it seems that we should make the code consistent, and/or see if there's a sensible place that could bring all the preference getters into one function handler.

Definitely should always be the default preference.

Severity: -- → minor
Priority: -- → P3

Updating Severity from minor to P4 per May 4th changes to Severity field and triage process.

Severity: minor → S4

There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:mkaply, could you have a look please?
For more information, please visit auto_nag documentation.

Flags: needinfo?(mozilla)
Attachment #9260434 - Attachment is obsolete: true
Pushed by mozilla@kaply.com:
https://hg.mozilla.org/integration/autoland/rev/9ba78c4ebbf2
Always get distribution values from default prefs. r=preferences-reviewers,jaws
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 98 Branch

This finally landed.

Flags: needinfo?(mozilla)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: