[buddypress-trac] [BuddyPress Trac] #9096: Data Loss Issue: Last Activity Deletion impact Member Directory and Friend List due to Repair member "last activity" data.

buddypress-trac noreply at wordpress.org
Wed Feb 14 18:26:52 UTC 2024


#9096: Data Loss Issue: Last Activity Deletion impact Member Directory and Friend
List due to Repair member "last activity" data.
--------------------------+-----------------------------
 Reporter:  vapvarun      |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Core          |    Version:
 Severity:  normal        |   Keywords:
--------------------------+-----------------------------
 The bp_last_activity_migrate() function, designed to migrate last_activity
 data from the usermeta table to the bp_activity table, inadvertently leads
 to data loss. This occurs because the function first deletes existing
 last_activity data from the bp_activity table to avoid duplicates.
 However, since last_activity is no longer saved in the usermeta, this
 permanently loses last_activity information.

 https://github.com/buddypress/buddypress/blob/41d7e95513c7c1441fc94e254333be2cb9abb80e/src
 /bp-members/bp-members-functions.php#L1220

 Two other people also have reported the same issue here
 https://buddypress.org/support/topic/unexpected-behaviour-with-friends-
 list-default-sorting/

 We can also remove this option https://prnt.sc/ETlX7PjRMb-b

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9096>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list