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

SourceForge.net noreply at sourceforge.net
Sun Feb 27 18:15:38 CET 2005


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

Category: (un)subscribing
Group: 2.1 (stable)
Status: Open
Resolution: None
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

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

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