Skip to content

Test 45782: Prevent manual scoring of unfinished attempts#11509

Open
matheuszych wants to merge 1 commit intoILIAS-eLearning:release_10from
matheuszych:ta/45782
Open

Test 45782: Prevent manual scoring of unfinished attempts#11509
matheuszych wants to merge 1 commit intoILIAS-eLearning:release_10from
matheuszych:ta/45782

Conversation

@matheuszych
Copy link
Copy Markdown
Contributor

See: https://mantis.ilias.de/view.php?id=45782

Manual scoring by question allowed opening the scoring UI for attempts that were still in progress. ScoringByQuestionTableBinder now skips unfinished attempts when composing table rows. TestScoringByQuestionGUI verifies the attempt is finished via getAttemptOverviewFor before calling getAnswerDetail; otherwise an exception is thrown.

/cc @thojou

See: https://mantis.ilias.de/view.php?id=45782

Manual scoring by question allowed opening the scoring UI for attempts that were still in progress. `ScoringByQuestionTableBinder` now skips unfinished attempts when composing table rows. `TestScoringByQuestionGUI` verifies the attempt is finished via `getAttemptOverviewFor` before calling `getAnswerDetail`; otherwise an exception is thrown.
@matheuszych matheuszych changed the title Test: Prevent manual scoring of unfinished attempts Test 45782: Prevent manual scoring of unfinished attempts Apr 30, 2026
@dsstrassner dsstrassner added bugfix php Pull requests that update Php code labels Apr 30, 2026
@dsstrassner
Copy link
Copy Markdown
Contributor

@kergomard please review!

@jweber-unibe
Copy link
Copy Markdown

Possibly I am just mistaken – but I fail to see the direct connection of this PR to the mentioned issue, implied by the Mantis link. 🤔
The issue report in itself has nothing to do with manual scoring but deals with the status display in the 'Participants' table.

(... just in case this remark has any relevance at all 😉)

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.

5 participants