Bug #12131


bbPress 2.6 upgrade

Added by Boone Gorges over 4 years ago. Updated almost 4 years ago.

Priority name:
Category name:
Group Forums
Target version:
Start date:
Due date:
% Done:


Estimated time:
Deployment actions:


bbPress 2.6 was released last week:

Per our regular procedures, this means that we'll be upgrading as part of the 1.16.2 release in late December. The bbPress update is large, and we have made a number of important modifications to bbPress's default behavior in order to be compatible with the Commons setup (#10654, #9003, #5133, #5318, probably others). Before releasing to the Commons, we should do some sanity checks to ensure the following:

1. Existing BP group forums continue to be associated properly with their groups
2. New groups can properly be associated with group forums
3. The following fixes are still working (these are the customizations that look to be functionally important):
b. (actually that one may not be necessary after recent changes in group creation)
c. #3649
d. and the following function
e. #4734
f. and following function
4. The inline comments say that can be removed after the 2.6 upgrade

Ray, I'm copying you here because you've been my spiritual partner in these journeys through the bowels of bbPress. I was hoping you could look in particular at 4, and maybe a sanity check on 1 and 2. There are some more items in the cac-bp-custom-includes/forums.php file that are less mission-critical (like TinyMCE and mentions support) that you wrote but which I excluded from this list; if you have the bandwidth to verify those too, it'd be helpful. Otherwise I'll review the items in 3, which are mostly my doing.


Art & Activism FIELD 2019.docx (15.5 KB) Art & Activism FIELD 2019.docx Marilyn Weber, 2020-02-29 03:27 PM

Related issues

Related to CUNY Academic Commons - Bug #12483: post errorResolved2020-02-27

Related to CUNY Academic Commons - Bug #12487: group posting problems? ResolvedRaymond Hoh2020-02-29

Actions #1

Updated by Matt Gold over 4 years ago

Just wanted to send a note of support to you both as you move forward through the thickets of bbpress. thank you.

Actions #2

Updated by Raymond Hoh over 4 years ago

The code for 4) can be removed.

I tested 1) and 2) briefly on a BuddyPress + bbPress install unrelated to the Commons and it worked fine.

The TinyMCE mod seems to be broken. I haven't had a chance to look into this yet, but feel free to add it to the list. We also added this mod to CBOX, so we'll have to add the fix for CBOX as well when the time comes.

I'll also have to check my custom bbPress plugin, which gives a user the ability to set custom posts per page, as well as thread display mode:

Actions #3

Updated by Boone Gorges about 4 years ago

  • Target version changed from 1.16.2 to 1.16.4

After some discussion, we'll be punting this to January to allow for thorough testing.

Actions #4

Updated by Boone Gorges about 4 years ago

  • Target version changed from 1.16.4 to 1.16.6
Actions #5

Updated by Boone Gorges about 4 years ago

  • Status changed from New to Staged for Production Release

I've run some tests locally and all of our customizations seem to check out. Let's move forward with this upgrade tomorrow. removes the hotfix discussed in item 4 above.

Actions #6

Updated by Boone Gorges about 4 years ago

  • Status changed from Staged for Production Release to Resolved

This is complete. The migration routines have been run, and some spot checks suggest that all is well.

Marilyn, I've added you as a watcher so that you're aware of the change: we've upgrade our forum software in a way that required some data to be migrated. Please keep your ear to the ground for any questions or concerns related to group forums (missing topics, etc).

Actions #7

Updated by Marilyn Weber about 4 years ago

Thanks, will do.

Actions #8

Updated by Raymond Hoh about 4 years ago

Encountered a fatal error with the bbp-bp-notification-formatter plugin while debugging #12471. Fix available here:

Pushed as a hotfix on production.

Actions #9

Updated by Boone Gorges about 4 years ago

Actions #10

Updated by Raymond Hoh about 4 years ago

Just to summarize the change for #12483 for posterity, bbPress 2.6 made a change to disallow activity publishing during forum post edits if forum revisions are disabled.

However, the post_type_supports( BBP_POST_TYPE, 'revisions' ) check will always fail even if revisions are enabled due to a bbPress post type override.


I've added a hotfix to workaround this problem until bbPress addresses this issue -

Actions #11

Updated by Marilyn Weber almost 4 years ago

Not sure if this should go here or a new ticket. Here goes:

Prof. Gregory Sholette reports
I have tried to post three times to the forum I belong to ( but it does not appear, even though other posts I have submitted appear immediately. Why? I am attaching what I tried to post as a pasted-in comment.

Actions #12

Updated by Boone Gorges almost 4 years ago

See #12487 for follow-up on Marilyn's comment above.

Actions #13

Updated by Raymond Hoh almost 4 years ago

  • Related to Bug #12487: group posting problems? added

Also available in: Atom PDF