[Mailman-Developers] [ mailman-Bugs-605933 ] subscribe by invite dies on dup user

noreply@sourceforge.net noreply@sourceforge.net
Fri, 13 Sep 2002 09:51:34 -0700


Bugs item #605933, was opened at 2002-09-07 03:03
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100103&aid=605933&group_id=103

Category: (un)subscribing
Group: 2.1 beta
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Ron Jarrell (jarrell)
Assigned to: Nobody/Anonymous (nobody)
Summary: subscribe by invite dies on dup user

Initial Comment:
Playing with the "invite" feature, I invited myself, 
knowing I was already on the list.  If you reply by 
email, it properly bounces back a "you're already 
subscribed" error.

Click the web link, however, and fill out the form 
(which, btw mistakenly said that the moderater had to 
approve it on an open list; I don't remember if that's 
hardcoded or dynamic, but I *thought* it was 
dynamic) and when you submit it you get a 
traceback... the cgi-form really ought to catch this 
condition gracefully...

Traceback (most recent call last):
  File "/home/mailman/scripts/driver", line 82, in 
run_main
    main()
  File "/home/mailman/Mailman/Cgi/confirm.py", line 
110, in main
    subscription_confirm(mlist, doc, cookie, cgidata)
  File "/home/mailman/Mailman/Cgi/confirm.py", line 
314, in subscription_confirm
    op, addr, pw, digest, lang = 
mlist.ProcessConfirmation(
  File "/home/mailman/Mailman/MailList.py", line 1072, 
in ProcessConfirmation
    self.ApprovedAddMember(userdesc)
  File "/home/mailman/Mailman/MailList.py", line 858, 
in ApprovedAddMember
    raise Errors.MMAlreadyAMember, email
MMAlreadyAMember: jarrell@vt.edu


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

>Comment By: Barry A. Warsaw (bwarsaw)
Date: 2002-09-13 12:51

Message:
Logged In: YES 
user_id=12800

There's another bug you didn't mention <wink>.  The invite
page should not allow you to invite a member.  

I'm fixing all three bugs now, thanks.


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

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