buglet, changing options on an already deleted member
I bring up an admin page, from the shell, I remove a user I change the user options in the web form, and click submit
Traceback (most recent call last): File "/var/local/mailman/scripts/driver", line 82, in run_main main() File "/var/local/mailman/Mailman/Cgi/admin.py", line 166, in main change_options(mlist, category, subcat, cgidata, doc) File "/var/local/mailman/Mailman/Cgi/admin.py", line 1318, in change_options mlist.setMemberName(user, newname) File "/var/local/mailman/Mailman/OldStyleMemberships.py", line 315, in setMemberName self.__assertIsMember(member) File "/var/local/mailman/Mailman/OldStyleMemberships.py", line 113, in __assertIsMember raise Errors.NotAMemberError, member NotAMemberError: marc@merlins.org
The error is correct, but mailman should probably return a simple error in the web page instead of a traceback.
Marc
Microsoft is to operating systems & security .... .... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/ | Finger marc_f@merlins.org for PGP key
"MM" == Marc MERLIN <marc_news@vasoftware.com> writes:
MM> I bring up an admin page,
MM> from the shell, I remove a user
MM> I change the user options in the web form, and click submit
MM> The error is correct, but mailman should probably return a
MM> simple error in the web page instead of a traceback.
Fixed, thanks. -Barry
participants (2)
-
barry@zope.com
-
Marc MERLIN