Comment 0 for bug 266012

Revision history for this message
Tokio Kikuchi (tkikuchi) wrote :

If a user changed his email address and confirm by
email, then hit a button on the (old email) options
page, then he get;

Bug in Mailman version 2.1.4
>
> We're sorry, we hit a bug!
> If you would like to help us identify the problem,
please email a copy of this page to the webmaster for
this site with a description of what happened. Thanks!
>
> Traceback:
>
> Traceback (most recent call last):
> File "/usr/local/mailman/scripts/driver", line 87,
in run_main
> main()
> File "/usr/local/mailman/Mailman/Cgi/options.py",
line 226, in main
> password, user):
> File
"/usr/local/mailman/Mailman/SecurityManager.py", line
220, in WebAuthenticate
> ok = self.CheckCookie(ac, user)
> File
"/usr/local/mailman/Mailman/SecurityManager.py", line
300, in CheckCookie
> ok = self.__checkone(c, authcontext, user)
> File
"/usr/local/mailman/Mailman/SecurityManager.py", line
310, in __checkone
> key, secret = self.AuthContextInfo(authcontext, user)
> File
"/usr/local/mailman/Mailman/SecurityManager.py", line
105, in AuthContextInfo
> secret = self.getMemberPassword(user)
> File
"/usr/local/mailman/Mailman/OldStyleMemberships.py",
line 102, in getMemberPassword
> raise Errors.NotAMemberError, member
> NotAMemberError: old_user@address

I atatch a patch to fix this.

[http://sourceforge.net/tracker/index.php?func=detail&aid=874760&group_id=103&atid=100103]