Skip to:
Content

bbPress.org

Opened 10 years ago

Closed 10 years ago

#2964 closed defect (bug) (invalid)

Deleting a Topic does not delete the corresponding BuddyPress activity

Reported by: konnektiv Owned by:
Priority: normal Milestone:
Component: General Version:
Severity: normal Keywords:
Cc:

Description

If a topic or reply is deleted, the corresponding BuddyPress activity entry is not deleted. This happens due to the function get_activity_id not properly returning the activity_id. The underlying issue is that the function bp_activity_get_specific does not set the 'total' field in the returned array. The attached patch fixes the issue by directly counting the returned activities.

Attachments (1)

fix_get_activity_id.patch​ (713 bytes ) - added by konnektiv 10 years ago.
Patch to correctly return activity_id

Download all attachments as: .zip

Change History (2)

@konnektiv
10 years ago

Patch to correctly return activity_id

#1 @thebrandonallen
10 years ago

  • Milestone Awaiting Review
  • Resolution → invalid
  • Status new → closed

@konnektiv Thanks for the report and patch! This was fixed in [5857] (albeit, under a different approach), and will be available in the upcoming 2.6 release.

Note: See TracTickets for help on using tickets.