[ mailman-Bugs-1152953 ] Cancelling a subscription confirmation throws assertion

SourceForge.net noreply at sourceforge.net
Sat Dec 10 22:43:41 CET 2005


Bugs item #1152953, was opened at 2005-02-27 09:15
Message generated for change (Settings changed) made by msapiro
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1152953&group_id=103

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: (un)subscribing
Group: 2.1 (stable)
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Geoff Mottram (gmottram)
Assigned to: Nobody/Anonymous (nobody)
Summary: Cancelling a subscription confirmation throws assertion

Initial Comment:
When you use the web interface to confirm a
subscription and select the "Cancel my subscription
request", Mailman throws an assertion.

The problem can be fixed by replacing line 312 in
Mailman/Cgi/confirm.py which currently reads:

    userdesc = mlist.pend_confirm(cookie)[1]

With the following code:

    mlist.Lock()
    try:
        userdesc = mlist.pend_confirm(cookie)[1]
    finally:
        mlist.Unlock()

More detailed information on this fix can be found here:

    http://www.minaret.biz/tips/mailman2.html

Geoff Mottram

----------------------------------------------------------------------

>Comment By: Mark Sapiro (msapiro)
Date: 2005-12-10 13:43

Message:
Logged In: YES 
user_id=1123998

This is a duplicate of 981188, fixed in Mailman 2.1.6.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1152953&group_id=103


More information about the Mailman-coders mailing list