Opened 16 years ago
Closed 16 years ago
#761 closed Defect (fixed)
Orphaned spam profile selected as UOTD
Reported by: | Thyme Lawn | Owned by: | davea |
---|---|---|---|
Priority: | Major | Milestone: | Undetermined |
Component: | Web - Project | Version: | |
Keywords: | UOTD profile patch | Cc: |
Description
When a project deletes a user with a spam profile the deletion isn't propagated to the profile record.
The resulting orphaned profile can be selected as the user of the day, as is the case on Orbit@home today. The source for that page shows the UOTD href as "http://orbit.psi.edu/oah/show_user.php?userid=", so all you get is a direct link to the online pharmacy.
BoincUser::delete() in boinc_db.inc needs to be modified to ensure that any associated profile is also deleted and select_uotd() in uotd.inc needs to avoid profiles where lookup_user_id() returns null.
Attachments (1)
Change History (3)
Changed 16 years ago by
Attachment: | delete-profile-on-user-delete.diff added |
---|
comment:1 Changed 16 years ago by
Keywords: | patch added |
---|
comment:2 Changed 16 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
patch