Closed Bug 128422 Opened 23 years ago Closed 22 years ago

all users receive email on all changes regardless of email preferences

Categories

(Bugzilla :: Email Notifications, defect)

2.15
defect
Not set
blocker

Tracking

()

RESOLVED FIXED
Bugzilla 2.16

People

(Reporter: myk, Assigned: myk)

References

Details

Attachments

(1 file)

The code in bug 117060, checked into the tip recently, has a serious bug that
causes all users to receive email on all changes regardless of their email
preferences, because it no longer stores email preferences that are "off" and
assumes missing preferences are "off", while processmail assumes missing
preferences are "on" so that adding a new preference defaults that preference to
"on" for all users.

A side-effect (or perhaps separate bug) is that when an installation adds a new
preference, processmail correctly defaults it to "on" for all users, but when a
user goes to the email preferences tab for the first time after the preference
has been added all the checkboxes for the preference are un-checked.
Re-assigning to patch author.
Assignee: jake → myk
Accepting.
Attachment #72028 - Flags: review+
Comment on attachment 72028 [details] [diff] [review]
patch v1: fixes bug by writing "off" preferences to the database

Er... yes. Oops. Serves me right for changing how things work during
templatisation.

Gerv
Blocks: 128437
Checked this in without second review due to severity of the horkage (much worse
than failing most tests), but will wait for second review to resolve the bug fixed.

Checking in userprefs.cgi;
/cvsroot/mozilla/webtools/bugzilla/userprefs.cgi,v  <--  userprefs.cgi
new revision: 1.28; previous revision: 1.27
done
Comment on attachment 72028 [details] [diff] [review]
patch v1: fixes bug by writing "off" preferences to the database

r= justdave
Attachment #72028 - Flags: review+
Target Milestone: --- → Bugzilla 2.16
Resolving fixed.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Blocks: 185013
No longer blocks: 185013
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: