[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mailman-cvs
Subject:    [Mailman-checkins] [Branch ~mailman-coders/mailman/2.2] Rev 1201: A
From:       noreply () launchpad ! net
Date:       2011-11-30 0:52:14
Message-ID: 20111130005214.31036.37287.launchpad () ackee ! canonical ! com
[Download RAW message or body]

------------------------------------------------------------
revno: 1201
committer: Mark Sapiro <msapiro@value.net>
branch nick: 2.2
timestamp: Tue 2011-11-29 16:47:02 -0800
message:
  A held message with a null sender caused a crash in the admindb
  interface.  This is fixed by changing the sender to <missing>.
  Bug #897103.
modified:
  Mailman/ListAdmin.py
  NEWS


--
lp:mailman/2.2
https://code.launchpad.net/~mailman-coders/mailman/2.2

Your team Mailman Checkins is subscribed to branch lp:mailman/2.2.
To unsubscribe from this branch go to https://code.launchpad.net/~mailman-c=
oders/mailman/2.2/+edit-subscription

["revision-diff.txt" (revision-diff.txt)]

=== modified file 'Mailman/ListAdmin.py'
--- Mailman/ListAdmin.py	2009-12-04 22:23:14 +0000
+++ Mailman/ListAdmin.py	2011-11-30 00:47:02 +0000
@@ -1,4 +1,4 @@
-# Copyright (C) 1998-2009 by the Free Software Foundation, Inc.
+# Copyright (C) 1998-2011 by the Free Software Foundation, Inc.
 #
 # This program is free software; you can redistribute it and/or
 # modify it under the terms of the GNU General Public License
@@ -221,6 +221,8 @@
         # an additional dictionary of message metadata
         #
         msgsubject = msg.get('subject', _('(no subject)'))
+        if not sender:
+            sender = _('<missing>')
         data = time.time(), sender, msgsubject, reason, filename, msgdata
         self.__db[id] = (HELDMSG, data)
         return id

=== modified file 'NEWS'
--- NEWS	2011-11-27 16:28:18 +0000
+++ NEWS	2011-11-30 00:47:02 +0000
@@ -129,6 +129,10 @@
 
   Bug Fixes and other patches
 
+    - A held message with a null sender caused a crash in the admindb
+      interface.  This is fixed by changing the sender to <missing>.
+      Bug #897103.
+
     - Changed subject prefixing to allow for possible whitespace between an
       'Re' and the following colon when determining how to add the prefix.
       Bug #893290.



_______________________________________________
Mailman-checkins mailing list
Mailman-checkins@python.org
Unsubscribe: http://mail.python.org/mailman/options/mailman-checkins/mailman-cvs%40progressive-comp.com



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic