[buddypress-trac] [BuddyPress] #3794: Deleted activity items remain favourited

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Mon Dec 5 17:18:27 UTC 2011


#3794: Deleted activity items remain favourited
--------------------------+-----------------------------
 Reporter:  ewebber       |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  Activity      |     Version:  1.5.1
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+-----------------------------
Changes (by boonebgorges):

 * component:  Core => Activity
 * milestone:  Awaiting Review => Future Release


Comment:

 Yeah, this sounds about right.

 Unfortunately it'll be next to impossible to solve. We currently store a
 user's activity favorites in usermeta as an array. There's no way to query
 (eg) how many times an activity item has been favorited, or by whom. So
 there's no way to loop through those users and delete the item from the
 activity favorites list.

 Probably this will have to wait until such time as the favorites system is
 rewritten into something a bit more elegant. (Either that, or we'll have
 to start keeping track in activity_meta of the users who have favorited an
 item.)

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/3794#comment:1>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list