Skip to content

48255 - Route hint requests in question preview - #12014

Open
iFadi wants to merge 1 commit into
ILIAS-eLearning:release_10from
iFadi:fix/48255-question-preview-hint-routing
Open

48255 - Route hint requests in question preview#12014
iFadi wants to merge 1 commit into
ILIAS-eLearning:release_10from
iFadi:fix/48255-question-preview-hint-routing

Conversation

@iFadi

@iFadi iFadi commented Sep 2, 2026

Copy link
Copy Markdown

Description

Routes commands for question hint sub-GUIs through ilCtrl::forwardCommand() while preserving the existing direct dispatch for commands handled by ilAssQuestionPreviewGUI itself.

Without this distinction, requesting a hint in question preview calls confirmRequestCmd() on ilAssQuestionPreviewGUI, where that method does not exist.

Mantis: https://mantis.ilias.de/view.php?id=48255

Tests

  • Added regression tests for direct preview commands and child-GUI dispatch.
  • ilObjTestGUITest: 6 tests, 8 assertions.
  • PHP 8.2 syntax check passed.
  • ILIAS PHP-CS-Fixer check passed.

@dsstrassner dsstrassner added bugfix php Pull requests that update Php code labels Sep 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bugfix php Pull requests that update Php code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants