Exception when trying to edit non-member preferences

Bug #266044 reported by Beuc-users
2
Affects Status Importance Assigned to Milestone
GNU Mailman
New
Medium
Unassigned

Bug Description

At Savannah, you 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 "/var/lib/mailman/scripts/driver", line 97, in
run_main
    main()
  File "/usr/lib/mailman/Mailman/Cgi/options.py", line
226, in main
    password, user):
  File "/var/lib/mailman/Mailman/SecurityManager.py",
line 220, in WebAuthenticate
    ok = self.CheckCookie(ac, user)
  File "/var/lib/mailman/Mailman/SecurityManager.py",
line 300, in CheckCookie
    ok = self.__checkone(c, authcontext, user)
  File "/var/lib/mailman/Mailman/SecurityManager.py",
line 310, in __checkone
    key, secret = self.AuthContextInfo(authcontext, user)
  File "/var/lib/mailman/Mailman/SecurityManager.py",
line 105, in AuthContextInfo
    secret = self.getMemberPassword(user)
  File
"/var/lib/mailman/Mailman/OldStyleMemberships.py", line
102, in getMemberPassword
    raise Errors.NotAMemberError, member
NotAMemberError: <email address hidden>

Python information:

Variable Value
sys.version 2.3.3 (#2, Mar 10 2004, 17:12:43) [GCC
2.95.4 20011002 (Debian prerelease)]
sys.executable /usr/bin/python
sys.prefix /usr
sys.exec_prefix /usr
sys.path /usr
sys.platform linux2"

when you enter a non-member address in the listinfo
page, in the small textbox with the button "unsubscribe
edit options".

It should display a user friendly message, just like
when you enter a malformed e-mail.

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

Tags: web-cgi
Revision history for this message
Ikarisan (ikarisan) wrote :

I have the same problem when I enter a non-member address.

But it works if you enter

dummyuser@domain

Just enter a full stop behind "domain" and the bug page appears!
(dummyuser@domain.)

sys.version 2.3.3 (#2, Feb 24 2004, 09:29:20) [GCC 3.3.3
(Debian)]

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.