Closed
Bug 71808
Opened 24 years ago
Closed 24 years ago
Can't set email preferences for voted bugs.
Categories
(Bugzilla :: Bugzilla-General, enhancement)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.12
People
(Reporter: neil, Assigned: jacob)
References
()
Details
Attachments
(1 file)
(deleted),
patch
|
Details | Diff | Splinter Review |
You can only set email preferences for owned, reported, QA or CC's bugs.
What happens to voted bugs?
Reporter | ||
Comment 1•24 years ago
|
||
Marking as dependent on 71793 because with any luck both will get fixed together.
Depends on: 71793
Assignee | ||
Comment 2•24 years ago
|
||
Currently voted bugs get all mail in the old format. Adding the pref framework
for "When I voted on a bug" should fix that problem at the same time (one of the
causes for bug 71625).
Blocks: 71625
Comment 3•24 years ago
|
||
Marking for 2.16, but the votes getting old emailtech should definitely be fixed
for 2.12. Is there a separate bug for that? I'm a bit behind on all the email
filtering bugs.
Target Milestone: --- → Bugzilla 2.16
Assignee | ||
Comment 5•24 years ago
|
||
This bug can't be fixed until bug 73665 is because any new filters being added
will default to "off" (this was discovered on one of the bugfixes to the
original bug 17464).
Depends on: emailprefs
Assignee | ||
Comment 6•24 years ago
|
||
Assignee | ||
Comment 7•24 years ago
|
||
In order to get this in for 2.12 (part of bug 71625), I've added a but of a
kludge to the code. If a value is not defined or 'on' for a filtering group, it
means mail should be delivered. If it is defined and is "", then no mail is
delivered.
Basically, this makes it so that new options default to 'on'. The patch also
impliments the filter group "Voter".
Assignee: tara → jake
Target Milestone: Bugzilla 2.16 → Bugzilla 2.12
Comment 8•24 years ago
|
||
Jake, your "kludge" to processmail seems to make the code tolerant against
missing userFlags. In my view, this is the right thing to do, and you could drop
the printed warning. Please compare this to attachment 27389 [details] [diff] [review] (my proposed fix
for bug 71600) and attachment 27405 [details] [diff] [review] (the "simplified" version of that patch that
got checked in):
My approach was to check for "on" and "off" separately, and exclude the person
from getting mail iff "off" was found and "on" was not found. Your approach is
to treat missing values as "on" and exclude the person from getting mail iff
"on" was not found.
I think both solutions are correct and equivalent. Yours may even be cleaner. In
any case, you have r=afranke on that "kludge" :) The rest looks good to me, but
that doesn't say much...
Assignee | ||
Comment 9•24 years ago
|
||
I call this a kludge because the logic behind what it has to do is not pretty.
For someone looking at the code for the first time, the idea of treating
undefined the same as 'on' will seem quite strange. At least it does to me.
The proper way to fix this (IMHO) is bug 73665, but that is a bit much for 2.12.
And yes, I guess this does do the same thing as the part of attachment 27389 [details] [diff] [review]
that got left out (although this one adds the same logic to userprefs.cgi so the
checkmarks agree w/the filtering).
Comment 10•24 years ago
|
||
I agree, the warning isn't needed. This is the right thing to do, since the
prefs should default to 'on' if they haven't been defined yet. This is the same
behavior it originally had when they were converted to the new pref system, so it
only makes sense to do that when adding prefs.
r= justdave
Checked in (without the warning line).
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Updated•24 years ago
|
No longer depends on: emailprefs
Comment 11•23 years ago
|
||
Moving closed bugs to Bugzilla product
Component: Bugzilla → Bugzilla-General
Product: Webtools → Bugzilla
Version: Bugzilla 2.11 → unspecified
Updated•12 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•