Skip to:
Content

bbPress.org

Opened 6 years ago

Last modified 6 years ago

#2648 new defect

Repairing BuddyPress Group Forum relationships only works if the forums were imported

Reported by: netweb Owned by:
Milestone: 2.7 Priority: high
Severity: normal Version:
Component: Tools Keywords: needs-patch
Cc:

Description

The SQL query used in the repair tool "Repair BuddyPress Group Forum relationships" calculates the bbPress forum ID using _bbp_old_forum_id.

The meta key _bbp_old_forum_id only exists if the forums were imported, which in the majority of cases this would be the BuddyPress Legacy forums and works as intended in these cases.

An edge case is outlined here on buddypress.org where a BuddyPress Group Forum is 'out of sync' and the repair tool does not work 'as expected'.

We should add support to repair the BuddyPress Group Forum Relationships in cases where the forum ID is out of sync and the forums were not legacy imported forums.

Related:

  • #2533 Optimize Repair Tools SQL Queries
  • #2647 Post meta key _bbp_forum_id is not created when creating new forums

Change History (2)

#1 @netweb
6 years ago

Note: Awaiting feedback on my comment here to confirm if the the 'Group Forum Settings' to associated bbPress Forums with BuddyPress Groups is correctly updating the bbPress forum ID, if not another ticket should be created to address this issue also.

#2 @johnjamesjacoby
6 years ago

  • Milestone changed from Awaiting Review to 2.7

Move from awaiting review to 2.7 milestone.

Note: See TracTickets for help on using tickets.