Skip to content

chore(bbb-web): remove the dead PresentationController.delegate action - #26119

Merged
antobinary merged 1 commit into
bigbluebutton:v4.0.x-developfrom
antobinary:chore-400-remove-presentation-delegate-action
Oct 21, 2026
Merged

antobinary merged 1 commit into
bigbluebutton:v4.0.x-developfrom
antobinary:chore-400-remove-presentation-delegate-action

Conversation

@antobinary

Copy link
Copy Markdown
Member

What does this PR do?

Removes PresentationController.delegate, a leftover of the old external presentation-server integration.

Why

The action calls PresentationService.processDelegatedPresentation, which does not exist anywhere in the code base (the only occurrence of that name is the call itself). Through the generic $controller/$action mapping it is reachable without a session, and every request answers HTTP 500 with a MissingMethodException in bbb-web's log. Checked on a 4.0.1 build: GET /bigbluebutton/presentation/delegate is a 500. Nothing in the repository calls it.

How to test

  • curl -sk -o /dev/null -w '%{http_code}\n' https://<server>/bigbluebutton/presentation/delegate: 500 before, 404 after.
  • Presentation upload and conversion are unchanged (the action was never on that path).

PresentationController.delegate called
PresentationService.processDelegatedPresentation, which does not exist.
The action was reachable without a session through the generic
controller/action mapping and answered every request with HTTP 500 and a
MissingMethodException in the log.
@antobinary antobinary added this to the Release 4.0 milestone Oct 20, 2026
@antobinary
antobinary requested a review from paultrudel October 20, 2026 17:45
@coderabbitai

coderabbitai Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration
  • Configuration used: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 2103cf0d-ddde-4f8f-90f5-7dcf7f4cc33b
📥 Commits

Reviewing files that changed from the base of the PR and between cc88c33 and 3dc623a.

📒 Files selected for processing: 1
  • bigbluebutton-web/grails-app/controllers/org/bigbluebutton/web/controllers/PresentationController.groovy
💤 Files with no reviewable changes: 1
  • bigbluebutton-web/grails-app/controllers/org/bigbluebutton/web/controllers/PresentationController.groovy

Included review availability: This review used your included allowance. Your plan provides up to 8 included reviews per hour; 4 remain after this review.

Walkthrough

The delegate action was removed from PresentationController. The action had accepted delegated-presentation parameters, called presentationService.processDelegatedPresentation, and redirected to list.

Priority: ⬇️ Low

Estimated code review effort: 1 (Trivial) | ~3 minutes

Change: Bug fix

Merge Risk: ⚪ Minimal · up to 3dc62

No actionable issue remains before merge; confirm the expected HTTP response with the stated validation command.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title clearly and concisely states that the dead PresentationController.delegate action was removed.
Description check Passed The description explains the removed action, the missing service method, the resulting HTTP 500, and the expected HTTP 404 behavior. It also describes testing and confirms that presentation upload and…
Docstring Coverage Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Description check

Explanation

The description explains the removed action, the missing service method, the resulting HTTP 500, and the expected HTTP 404 behavior. It also describes testing and confirms that presentation upload and conversion remain unchanged.

Full details: Docstring Coverage

Explanation

No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

Copy link
Copy Markdown

✅ Automated tests have passed!

@antobinary
antobinary merged commit 67d6c45 into bigbluebutton:v4.0.x-develop Oct 21, 2026
34 checks passed
paultrudel added a commit to paultrudel/bigbluebutton that referenced this pull request Oct 22, 2026
api/guestWait (bigbluebutton#26117) and presentation/delegate (bigbluebutton#26119) are gone. The cases pin the 404 and record the error page without comparing it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants