Closed Bug 303061 Opened 19 years ago Closed 19 years ago

userprefs.cgi should call ThrowUserError for old_password_required

Categories

(Bugzilla :: User Accounts, defect)

2.20
defect
Not set
minor

Tracking

()

RESOLVED FIXED
Bugzilla 2.20

People

(Reporter: Wurblzap, Assigned: Wurblzap)

Details

Attachments

(1 file)

If you don't give the old password when changing your e-mail address, Bugzilla
displays "An internal error has occured, but Bugzilla doesn't know what
old_password_required means".

Instead of ThrowCodeError('old_password_required'), userprefs.cgi should call
ThrowUserError('old_password_required').
This happens only if the user can log in by a user_verify_class other than DB.
Attached patch PatchSplinter Review
Attachment #191319 - Flags: review?
Status: NEW → ASSIGNED
Target Milestone: --- → Bugzilla 2.20
Comment on attachment 191319 [details] [diff] [review]
Patch

r=LpSolit
Attachment #191319 - Flags: review? → review+
Flags: approval?
Flags: approval2.20?
you have time to test this on 2.20 after it's checked in before it gets
released, right?
Flags: approval?
Flags: approval2.20?
Flags: approval2.20+
Flags: approval+
tip:

Checking in userprefs.cgi;
/cvsroot/mozilla/webtools/bugzilla/userprefs.cgi,v  <--  userprefs.cgi
new revision: 1.80; previous revision: 1.79
done


2.20rc1:

Checking in userprefs.cgi;
/cvsroot/mozilla/webtools/bugzilla/userprefs.cgi,v  <--  userprefs.cgi
new revision: 1.75.4.4; previous revision: 1.75.4.3
done
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: