Repository navigation
Fix whitespace handling in disabledFeaturesExclude - #26398
ramonlsouza merged 2 commits into
Conversation
Resolve the bigbluebutton-web/build.gradle conflict by raising the upstream test floor from 80 to 83 for the three new Spock cases, instead of lowering it to this branch's 43.
|
No actionable comments were generated in the recent review. WalkthroughThe code now trims comma-separated Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix · Severity of issue fixed: Medium Suggested reviewers: Merge Risk:
|
✅ Automated tests have passed! |
Two fixes reached v4.0.x-develop after this branch was cut, each with its own @ci test: - bigbluebutton#26398 fixed bigbluebutton#26233 (ParamsProcessorUtil now removes the trimmed disabledFeaturesExclude entries) and added 'Chat (exclude, space after comma)', which sends the same query as the known-issue test here. - bigbluebutton#26441 fixed bigbluebutton#26358 and added three 'Hide Sidebar Navigation' tests. They check that userdata-bbb_hide_sidebar_navigation=true keeps both the navigation sidebar and the sidebar content panel closed, against a moderator who joined without the parameter. Once merged, the bigbluebutton#26233 and bigbluebutton#26358 known-issue tests would repeat gating tests, and their comments, which explain the bugs, would be wrong. The nightly hide_sidebar_navigation test checks less than the new @ci tests, so it goes as well. This branch now adds 61 @nightly and 2 @known-issue tests.
What does this PR do?
This fixes
disabledFeaturesExcludeso comma-separated feature names are trimmed before they are removed from the effective disabled feature list.Closes Issue(s)
Closes #26233
What changed
@ciPlaywright regression case next to the existing chat exclusion test.Evidence
Before,
disabledFeaturesExclude=polls,%20chatleft chat disabled while Polling remained available. The Apps Gallery is visible at 00:10:After, Public Chat is visible at 00:08 and Polling remains available in the Apps Gallery at 00:15:
Tests
./gradlew test --no-daemoninbigbluebutton-web, on this branch merged with the currentv4.0.x-develop(bbb-common-messageandbbb-common-webbuilt from the same tree): 108 tests executed, floor 83, 0 failures, 11 skipped. The three new Spock cases pass.Chat (exclude)andChat (exclude, space after comma): passing on Chromium against BBB 4.0 built from source.{chat}to{}, no-space control{}to{}, and spaced server-default exclusion{polls}to{}.Known limitations
disabledFeaturesExclude; that existing behavior is outside this fix.@ciPlaywright case is the CI regression guard.@known-issue(An exclude list with a space after the comma re-enables chat). Once both are merged, that tag should no longer be needed.Documentation
No documentation change is needed. The API documentation already describes
disabledFeaturesExcludeas a comma-separated list, and this change makes the implementation match that contract.