Skip to:
Content

BuddyPress.org

Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#4765 closed defect (bug) (duplicate)

BP_Activity_Activity::delete_activity_meta_entries doesn't clear cache

Reported by: DJPaul Owned by:
Priority: normal Milestone:
Component: Activity Version: 1.2
Severity: normal Keywords:
Cc:

Description

BP_Activity_Activity::delete_activity_meta_entries() clears items from the activity meta table, but not from the wp_cache. This method is used in BP_Activity_Activity->delete().

To recreate: add an activity item, set some meta, use BP_Activity_Activity::delete_activity_meta_entries(), and then do bp_activity_get_meta(). The DB row will have been correctly deleted, but you'll get the value back from the cache.

Unit test is: BP_Tests_Activity_Class::test_delete_activity_meta_entries

Change History (2)

#1 @boonebgorges
14 years ago

  • Resolutionduplicate
  • Status newclosed

Closing in favor of #4804, which has a patch.

#2 @boonebgorges
14 years ago

  • Milestone Future Release
Note: See TracTickets for help on using tickets.