Ticket #320 (closed defect: fixed)

Opened 7 months ago

Last modified 6 months ago

tags removed from a profiles data remain in db

Reported by: researchbot Assigned to: nobody
Priority: normal Milestone: 0.9.2
Component: core Version: 0.9.0
Severity: normal Keywords: tag tags profile
Cc: rho, ewout, dramirez, renato, timh Patch Included: 0
Review Stage: readyforcheckin

Description (Last modified by misja)

when a user removes data from his profile, the associated tags remain in the database and keep popping up in the tagcloud/search results etc...

there is a patch, however tags that where removed from a profile before this patch was applied will have to be deleted from the database (tags) manually.

patch provided by rho:

+++ b/mod/profile/lib.php Thu Feb 21 18:08:21 2008 -0400 @@ -439,6 +439,7 @@ function profile_user_delete($object_typ } } delete_records('profile_data', 'owner', $object->ident); + delete_records('tags', 'owner', $object->ident); } return $object;

Change History

02/21/08 23:23:07 changed by researchbot

this is the related discussio, the patch was posted here too:

http://elgg.org/mod/vanillaforum/vanilla/comments.php?DiscussionID=1035&page=1#Comment_5930

03/13/08 10:29:47 changed by misja

  • status changed from new to closed.
  • description changed.
  • cc set to rho, ewout, dramirez, renato, timh.
  • haspatch deleted.
  • review_stage changed from unreviewed to readyforcheckin.
  • milestone changed from 0.9.1 to 0.9.2.
  • resolution set to fixed.

Clear error, referencing an incorrect table. Fix was added in r