Deleting a user doesn't clear subscriptions
Created by: Douglas Hunter
Tags: bug
Permissions: read[] edit[] reply[]

Deleting a user from the PeopleManager gadget (for administrators eyes only) doesn't clear that users email subscriptions. This tickles a bug that stops email from going out to *any* user until the subscriptions have been cleared.

From log.comma:

Mon Dec 12 12:34:02 2005: 7537 mailing post: Post|main|02aAeWROo4m5aeQn
Mon Dec 12 12:34:02 2005: 7537 checking read rights for GadgetsUser|main|02Kzh3z
JIn2Hk-Mi
Mon Dec 12 12:34:02 2005: 7537 checking read rights for GadgetsUser|main|02K_2O9
raojF3SwS
Mon Dec 12 12:34:03 2005: 7537 DOC_READ_ERROR (02_6JnH3xcD7-TZt) -- could not op
en file '/usr/local/comma/docs/GadgetsUser/02_6JnH3xcD7-TZt.user':No such file o
r directory at /usr/local/lib/perl5/site_perl/5.8.7/Gadgets/Standard/Post/Email
.pm line 69

And that happens every minute cron runs. Eek. The obvious fix is to have an erase hook in User.pm that handles this cleanup for us.

-- Douglas Hunter