Crash when global subcription change causes collision

Bug #265972 reported by Pasco-users
2
Affects Status Importance Assigned to Milestone
GNU Mailman
Invalid
Medium
Unassigned

Bug Description

I ran into this bug in MailMan version 2.1.2 today:

If you change your e-mail address "globally" (on all
lists to which you subscribe), and one of those lists
(other than the one whose options page you're working
from) already has a subscription under your new address
(as well as your old address), then MailMan will crash
(and display an exception traceback).

For example, I was working from the web-team page
http://domain.net/mailman/options/listname
as I tried to change my address globally. This would
affect about ten lists to which my old address
subscribed, including a list called "Team" among
others. But "Team" already had my new address among
its subscribers, so it could not accept another one.
Rather than giving a graceful error message when it
discovered this, MailMan just crashed.

I didn't capture the exception traceback, but it should
be easy to reproduce.

     - Rich

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

Revision history for this message
Simonha-users (simonha-users) wrote :

I have experience the same problem, here is our traceback:

Traceback:

Traceback (most recent call last):
  File "/usr/local/mailman-2.1.2/scripts/driver", line 87, in
run_main
    main()
  File "/usr/local/mailman-2.1.2/Mailman/Cgi/confirm.py", line
131, in main
    addrchange_confirm(mlist, doc, cookie)
  File "/usr/local/mailman-2.1.2/Mailman/Cgi/confirm.py", line
492, in addrchange_confirm
    op, oldaddr, newaddr = mlist.ProcessConfirmation(cookie)
  File "/usr/local/mailman-2.1.2/Mailman/MailList.py", line
1113,
in ProcessConfirmation
    self.ApprovedChangeMemberAddress(oldaddr, newaddr,
globally)
  File "/usr/local/mailman-2.1.2/Mailman/MailList.py", line
1048,
in ApprovedChangeMemberAddress
    mlist.changeMemberAddress(oldaddr, newaddr)
  File "/usr/local/mailman-2.1.2/Mailman/OldStyleMemberships.
py", line 251, in changeMemberAddress
    password=xxxxxxxx, language=lang)
  File "/usr/local/mailman-2.1.2/Mailman/OldStyleMemberships.
py", line 175, in addNewMember
    raise Errors.MMAlreadyAMember, member
MMAlreadyAMember: <email address hidden>

Revision history for this message
Barry Warsaw (barry) wrote :

This is a duplicate, and the bug has been fixed for Mailman
2.1.4

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.