Skip to:

Opened 3 months ago

Last modified 3 months ago

#3399 new defect

BuddyPress: Toggling group forum creates a duplicate forum

Reported by: r-a-y Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 2.0
Component: Extend - BuddyPress Keywords:


In BuddyPress, if you create a group with a forum attached to it, then navigate to the group's "Manage > Forum" page to disable the forum and save. Next, if you re-enable the forum and save again, another forum with the same name as the group will be created and will be used as the new group forum.

The previous forum still exists, but is now no longer attached to the group.

The issue is when removing and re-enabling the forum, bbPress doesn't record the previous forum ID and doesn't look for the previous forum.

I have attached a patch, which fixes this issue.

Attachments (1)

3399.01.patch (1.2 KB) - added by r-a-y 3 months ago.

Download all attachments as: .zip

Change History (2)

3 months ago

#1 @r-a-y
3 months ago

I should note that if #3014 is implemented, this patch will not work.

Note: See TracTickets for help on using tickets.