Skip to content

48273 - Fix question hint title in test player - #12015

Merged
kergomard merged 1 commit into
ILIAS-eLearning:release_10from
iFadi:fix/48273-question-hint-title-in-test-player
Sep 4, 2026
Merged

48273 - Fix question hint title in test player#12015
kergomard merged 1 commit into
ILIAS-eLearning:release_10from
iFadi:fix/48273-question-hint-title-in-test-player

Conversation

@iFadi

@iFadi iFadi commented Sep 2, 2026

Copy link
Copy Markdown

Description

Uses the question object already held by ilAssQuestionHintRequestGUI when rendering hint page titles.

In the test player, the parent GUI returns an ilObjTest. Calling getTitleForHTMLOutput() on that object causes a fatal error. The hint GUI already has the corresponding question object, which provides the required HTML-safe title.

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

Tests

  • Added regression coverage for showListCmd() and showHintCmd() in test-player context.
  • ilAssQuestionHintRequestGUITest: 2 tests, 5 assertions.
  • TestQuestionPool suite: 472 tests, 514 assertions, 9 existing skips.
  • 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
@kergomard
kergomard merged commit 4b10074 into ILIAS-eLearning:release_10 Sep 4, 2026
3 checks passed
@kergomard

kergomard commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

Hi @iFadi

Thank you for the PR. Merged. This is ILIAS 10 only, as we do not have any hints anymore in ILIAS 11.

Best,
@kergomard

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