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.
Comment on attachment 191319 [details] [diff] [review] Patch r=LpSolit
you have time to test this on 2.20 after it's checked in before it gets released, right?
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: 18.104.22.168; previous revision: 22.214.171.124 done