Closed
Bug 350636
Opened 18 years ago
Closed 18 years ago
"Never" decision by the user for a major update should not impact a minor update to the same version
Categories
(Toolkit :: Application Update, defect)
Tracking
()
RESOLVED
FIXED
mozilla1.8.1
People
(Reporter: moco, Assigned: moco)
References
Details
(Keywords: fixed1.8.1)
Attachments
(1 file)
1.58 KB,
patch
|
robert.strong.bugs
:
review+
mconnor
:
approval1.8.1+
|
Details | Diff | Splinter Review |
Note, this isn't an issue with minor releases, unless of course we push version "x.y" as a major update, the user says "never" to version x.y, and then later we push "x.y" as a minor release. I'm assuming we'd never do that, but I can also avoid accidentally applying a "never" decision to a minor release by doing this: var neverPrefName = PREF_UPDATE_NEVER_BRANCH + update.version; var never = getPref("getBoolPref", neverPrefName, false); - if (never) + if (never && update.type == "major") return; I think this (low risk, defensive) change might be worth taking on the branch (but drivers may feel otherwise).
Comment 1•18 years ago
|
||
I can imagine Firefox 2.0.0 changing from being a "major update" to being a "major + security update" when we drop support for Firefox 1.5.0.x. Do we support something like that?
Comment 2•18 years ago
|
||
This would happen with a new releaese of 2.0.0.x (likely 2.0.0.3 or .4) - so as long as we can advertise that new version as a minor update the 1.5.0.x we should be fine even if someone clicked never. Is that right Seth? Either way this patch seems reasonable. (In reply to comment #1) > I can imagine Firefox 2.0.0 changing from being a "major update" to being a > "major + security update" when we drop support for Firefox 1.5.0.x. Do we > support something like that? >
Comment 3•18 years ago
|
||
But 1.5.0.x to 2.0.0.3 is not "minor". It's "major + security". IMO the client side of the updater should know about both "minor vs. major" and "security vs. not security", at least if knowing about both is necessary for showing accurate and reasonably precise text to users.
Assignee | ||
Comment 4•18 years ago
|
||
for the 1.5.0.x -> 2.0.0.y migration, I would think that would always be advertised from aus as a "major" update. (For a 2.0.0.x users, 2.0.0.y would be advertised from aus as a "minor" update.) your comments and discussion point out a real world scenario that validates why we want this one line fix. I have both 1.5.0.x and 2.0.0.x on my machine, and I use both (with the same profile.) We decide that 2.0.0.y is solid enough to advertise to 1.5.0.x users, so we advertise this major update, and the user declines, so we store "app.update.never.2.0.0.y" = true; then, I switch back to 2.0.0.x, and 2.0.0.y is advertised as a minor update (but a critical one, for security reasons). but we have stored a never decision for 2.0.0.y in this profile, so the current code, as is, will not get that minor update. it's an edge case, but worth fixing. But I'm sure we can think of other real world scenarios where similar things can happen. I'll whip up the one liner (for trunk and branch, and test it of course.)
Assignee: nobody → sspitzer
Flags: blocking-firefox2?
Summary: possible (but not likely) for a "Never" decision → possible (but not likely) for a "Never" decision to prevent a critical minor update
Target Milestone: --- → Firefox 2
Assignee | ||
Comment 5•18 years ago
|
||
Attachment #236500 -
Flags: review?
Assignee | ||
Updated•18 years ago
|
Attachment #236500 -
Flags: review? → review?(robert.bugzilla)
Assignee | ||
Comment 6•18 years ago
|
||
I've tested out this one liner, and now, even if the user has said "never" to a major update for version x.y, that decision will not affect a minor update for version x.y I think we want this on the branch
Status: NEW → ASSIGNED
Updated•18 years ago
|
Flags: blocking-firefox2? → blocking-firefox2+
Comment 7•18 years ago
|
||
Comment on attachment 236500 [details] [diff] [review] simple patch r=me Are there other cases that should be fixed besides this? Is so, please file bug(s) for them.
Attachment #236500 -
Flags: review?(robert.bugzilla) → review+
Assignee | ||
Updated•18 years ago
|
Attachment #236500 -
Flags: approval1.8.1?
Assignee | ||
Comment 8•18 years ago
|
||
fixed on trunk
Status: ASSIGNED → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
Whiteboard: [fixed on trunk, awaiting approval for branch]
Updated•18 years ago
|
Summary: possible (but not likely) for a "Never" decision to prevent a critical minor update → possible (but not likely) for a "Never" decision to prevent a critical minor update
Assignee | ||
Updated•18 years ago
|
Summary: possible (but not likely) for a "Never" decision to prevent a critical minor update → "Never" decision by the user for a major update should not impact a minor update
Updated•18 years ago
|
Summary: "Never" decision by the user for a major update should not impact a minor update → "Never" decision by the user for a major update should not impact a minor update to the same version
Comment 9•18 years ago
|
||
Comment on attachment 236500 [details] [diff] [review] simple patch a=mconnor on behalf of drivers for 1.8 branch checkin
Attachment #236500 -
Flags: approval1.8.1? → approval1.8.1+
Assignee | ||
Comment 10•18 years ago
|
||
landed on the MOZILLA_1_8_BRANCH as well.
Keywords: fixed1.8.1
Whiteboard: [fixed on trunk, awaiting approval for branch]
Assignee | ||
Updated•18 years ago
|
Depends on: majorupdate
Updated•16 years ago
|
Product: Firefox → Toolkit
You need to log in
before you can comment on or make changes to this bug.
Description
•