Bug #20442
closed"This group does not currently have a forum" panel has mangled markup
0%
Description
This is a really weird issue where, if you go to the Forum tab of a group without an associated forum, the first two characters of the template markup is getting cut off, which causes the element not to be rendered properly. If I go into BBP_Forums_Group_Extension::display() and plop 'abcde' in front of the opening 'div' element, the browser loads 'cde' followed by the properly rendered HTML tag.
It seems like some plugin is manipulating the contents of the output buffer, but I don't really understand how to debug it further. Posting it here in case Ray has any insight.
The situation where this arises is very uncommon, and may occur only in my local environment where I'm using a mishmash of legacy data. So this is not urgent.
Files
Updated by Colin McDonald 6 months ago
- File forum bug html related to redmine Bug #20442.png forum bug html related to redmine Bug #20442.png added
Laurie also encountered this, see her screenshot attached, if it helps with testing.
Updated by Raymond Hoh 6 months ago
- Status changed from New to Testing Required
- Target version set to 2.4.0
Thanks for the bug report, Boone. I did some object buffering to fix a bug with bbPress where they were outputting the <div id="bbpress-forums" class="bbpress-wrapper">
container twice. When a group has no forum, this bug doesn't happen. This should be fixed in https://github.com/cuny-academic-commons/cac/commit/3f58b08e63f26fb4d5822e0538eb0d69b2220510 and is available for testing on cdev.
Updated by Boone Gorges 6 months ago
I'm glad I asked you before digging further, because it would've taken me ages to track that down :-D Fix looks good on my end.
Updated by Boone Gorges 5 months ago
- Status changed from Testing Required to Resolved