[Bug 1390653] [NEW] If a user is unsubscribed after retrieving her options page and before submitting an unsub, an uncaught exception is thrown
Public bug reported: Scenario 1: User logs in and retrieve her options page. Another process unsubscribes the user. User submits an unsub from the options page. NotAMemberError is thrown and not caught. Scenario 2 User logs in and retrieve her options page. User unsubscribes. User goes back a page in her browser and unsubscribes again. NotAMemberError is thrown and not caught. The options CGI should catch and ignore NotAMemberError. ** Affects: mailman Importance: Low Assignee: Mark Sapiro (msapiro) Status: In Progress -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/1390653 Title: If a user is unsubscribed after retrieving her options page and before submitting an unsub, an uncaught exception is thrown To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/1390653/+subscriptions
** Branch linked: lp:mailman/2.1 -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/1390653 Title: If a user is unsubscribed after retrieving her options page and before submitting an unsub, an uncaught exception is thrown To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/1390653/+subscriptions
Actually, this bug is much less likely to occur than the description indicates because the second unsub attempt will only throw the exception if the user has a list admin authentication cookie. If the user had originally authenticated only as the user, the second attempt will fail for lack of authentication. But I fixed it anyway before realizing this. ** Changed in: mailman Status: In Progress => Fix Committed -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/1390653 Title: If a user is unsubscribed after retrieving her options page and before submitting an unsub, an uncaught exception is thrown To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/1390653/+subscriptions
** Changed in: mailman Status: Fix Committed => Fix Released ** Changed in: mailman Milestone: 2.1.19 => 2.1.19rc1 -- You received this bug notification because you are a member of Mailman Coders, which is subscribed to GNU Mailman. https://bugs.launchpad.net/bugs/1390653 Title: If a user is unsubscribed after retrieving her options page and before submitting an unsub, an uncaught exception is thrown To manage notifications about this bug go to: https://bugs.launchpad.net/mailman/+bug/1390653/+subscriptions
participants (2)
-
Launchpad Bug Tracker
-
Mark Sapiro