Bug if bounced message canceled after being discarded

Bug #266224 reported by Openspark on 2005-04-21
2
Affects Status Importance Assigned to Milestone
GNU Mailman
Low
Mark Sapiro

Bug Description

Steps to Reproduce:

1. Create a mailing list with Mailman 2.1.4, and set yourself up as
administrator.

2. Send a message to a list which is bigger than the maximum
message size. This will make the message bounce.

2. As sender, you will receive a message such as:

Your mail to 'mailingList' with the subject

    Oversized

Is being held until the list moderator can review it for approval.

The reason it is being held:

    Message body is too big: 14292 bytes with a limit of 10 KB

Either the message will get posted to the list, or you will receive
notification of the moderator's decision. If you would like to cancel
this posting, please visit the following URL:

    http://yadayada...

3. Click on the link, but do not cancel the message in the browser
window which opens.

4. As mailing list administrator, you will receive a message asking
you to approve the Oversized message. Visit the link provided
and discard or reject the message.

5. As sender, now try to cancel the message which has now been
discarded.

Result: The error output cited below will be displayed in your
browser window.

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 "/home/mailman/scripts/driver", line 87, in run_main
    main()
  File "/home/mailman/Mailman/Cgi/confirm.py", line 146, in main
    heldmsg_confirm(mlist, doc, cookie)
  File "/home/mailman/Mailman/Cgi/confirm.py", line 595, in
heldmsg_confirm
    ign, sender, msgsubject, ign, ign, ign = mlist.GetRecord(id)
  File "/home/mailman/Mailman/ListAdmin.py", line 170, in
GetRecord
    type, data = self.__db[id]
KeyError: 2

Python information:

Variable Value
sys.version 2.3.3 (#1, Apr 17 2005, 22:14:25) [GCC
2.95.3 20010315 (release)]
sys.executable /usr/local/bin/python
sys.prefix /usr/local
sys.exec_prefix /usr/local
sys.path /usr/local
sys.platform linux2

Environment variables:

Variable Value
HTTP_REFERER http://mailman.openspark.com/mailman/confirm/
directorwiki-l/77a461e3e6bb858614b1af732f81ab8ee9ae374b
SERVER_SOFTWARE Apache/1.3.29 Sun Cobalt (Unix) mod_jk
mod_ssl/2.8.16 OpenSSL/0.9.6m PHP/4.0.6 FrontPage/
5.0.2.2510 mod_perl/1.26
SCRIPT_NAME /mailman/confirm
SERVER_SIGNATURE
REQUEST_METHOD POST
PATH_INFO /directorwiki-l
SERVER_PROTOCOL HTTP/1.1
QUERY_STRING
CONTENT_LENGTH 69
HTTP_USER_AGENT Mozilla/5.0 (Macintosh; U; PPC Mac OS
X; en-gb) AppleWebKit/312.1 (KHTML, like Gecko) Safari/312
HTTP_CONNECTION close
HTTP_COOKIE directorwiki-
l+admin=28020000006920b76742732800000064333737393134
666635643736613163386163336564643566353261363532343
535366131386462
SERVER_NAME mailman.openspark.com
REMOTE_ADDR 217.41.35.10
PATH_TRANSLATED /home/.sites/143/site2/web/directorwiki-l
SERVER_PORT 80
SERVER_ADDR 212.20.236.194
DOCUMENT_ROOT /home/.sites/143/site2/web
PYTHONPATH /home/mailman
SCRIPT_FILENAME /home/mailman/cgi-bin/confirm
SERVER_ADMIN admin
SCRIPT_URI http://mailman.openspark.com/mailman/confirm/
directorwiki-l
HTTP_HOST mailman.openspark.com
SCRIPT_URL /mailman/confirm/directorwiki-l
REQUEST_URI /mailman/confirm/directorwiki-l
HTTP_ACCEPT */*
GATEWAY_INTERFACE CGI/1.1
REMOTE_PORT 52531
HTTP_ACCEPT_LANGUAGE en-gb
CONTENT_TYPE application/x-www-form-urlencoded
REMOTE_HOST host217-41-35-10.in-addr.btopenworld.com
HTTP_ACCEPT_ENCODING gzip, deflate
UNIQUE_ID Qme6fdQU7MIAAFFv60M

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

Mark Sapiro (msapiro) on 2011-02-07
Changed in mailman:
assignee: nobody → Mark Sapiro (msapiro)
importance: Medium → Low
milestone: 2.1-stable → 2.1.15
status: New → In Progress
Mark Sapiro (msapiro) on 2011-02-07
Changed in mailman:
status: In Progress → Fix Committed
Mark Sapiro (msapiro) on 2012-06-15
Changed in mailman:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers