[ mailman-Bugs-1020013 ] spam filters get removed when changing other privacy pages

SourceForge.net noreply at sourceforge.net
Wed Sep 1 03:33:01 CEST 2004


Bugs item #1020013, was opened at 2004-08-31 21:10
Message generated for change (Comment added) made by tkikuchi
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=1020013&group_id=103

Category: Web/CGI
Group: 2.1 (stable)
Status: Open
Resolution: None
Priority: 5
Submitted By: John Dennis (johndennis)
Assigned to: Nobody/Anonymous (nobody)
Summary: spam filters get removed when changing other privacy pages

Initial Comment:
This was filed in the Red Hat bugzilla as:

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=130479

Promoting to upstream

Summary is:

If you enter some header_filter_rules in the mailman
admin pages
(Privacy->Spam filters) and click "submit" they are
added to the
list configuration database.

However, if you now go to one of the other Privacy
pages and click
"submit" and return to the Spam Filters page, you'll
find that your
header_filter_rules settings have been removed.

This appears to be caused by the handleForm function in
~mailman/Mailman/Gui/Privacy.py not checking to see
which subsection
is being submitted before processing the data for and
setting the
mlist.header_filter_rules list configuration variable.

Version-Release number of selected component (if
applicable):
mailman-2.1.5

How reproducible:
Always

Steps to Reproduce:
1. Create list.
2. Go to the Privacy->Spam filters page, add some
header_filter_rules
and hit submit.
3. Go to the Privacy->Sender filters page but don't hit
submit
4. Go back to Spam filters and note that they're still
present
5. Return to Sender filters and hit submit
6. Go back to Spam filters and note that they've been
removed.
    

Actual Results:  All spam filters are removed.

Expected Results:  Spam filter settings should be retained.



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

>Comment By: Tokio Kikuchi (tkikuchi)
Date: 2004-09-01 01:33

Message:
Logged In: YES 
user_id=67709

a patch is uploaded (id 1020102)

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

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


More information about the Mailman-coders mailing list