checkdbs remainders for not existing requests

Bug #266131 reported by Albertomarconi
2
Affects Status Importance Assigned to Milestone
GNU Mailman
Fix Released
Medium
Unassigned

Bug Description

checkdbs sends remainders to list owners concerning
pending requests which do not exist.

It happens on new lists which are missing the
request.pck file.

The count of the pending requests is -1.

The NumRequestsPending() function returns -1 if the
request.pck file is missing.

The following patch correct this problem:

--- checkdbs.orig 2004-09-13 18:36:31.000000000
+0200
+++ checkdbs 2004-09-16 05:33:27.000000000 +0200
@@ -96,7 +96,7 @@
                     del mlist.hold_and_cmd_autoresponses
[sender]
                 # Only here have we changed the list's
database
                 mlist.Save()
- if count:
+ if count > 0:
                 i18n.set_language(mlist.preferred_language)
                 realname = mlist.real_name
                 text = Utils.maketext(

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

Revision history for this message
Albertomarconi (albertomarconi) wrote : checkdbs.diff

Other attachments

Revision history for this message
Tokio Kikuchi (tkikuchi) wrote :
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.