Opened 10 years ago
Last modified 10 years ago
#2648 new defect (bug)
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:
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.