fix: refuse review writes while a test attempt is open

WR-02: Confirm and SetScore answer ErrAttemptOpen (409 attempt_open,
an admin refusal) for an answer of a running test, ConfirmBulk skips
such attempts, and the default open queue leaves them out, so
AnswerReviewed never fires before the test ends.
This commit is contained in:
Jakub Zych
2026-11-09 22:47:47 +01:00
parent adc02d7e0c
commit 34b0966819
6 changed files with 37 additions and 9 deletions

View File

@@ -128,5 +128,6 @@ reviews:
no_grader_score: This answer has no grader's score yet; enter the points yourself.
already_reviewed: This answer is already verified.
grader_manual: This quiz is graded manually; nothing can grade the answer again.
attempt_open: The test is still in progress; review this answer once it ends.
not_found: This answer was not found.
not_created: Open answers come from students; they cannot be added or deleted here.

View File

@@ -128,5 +128,6 @@ reviews:
no_grader_score: Ta odpowiedź nie ma jeszcze wyniku oceniającego; wpisz punkty sam.
already_reviewed: Ta odpowiedź jest już zweryfikowana.
grader_manual: Ten quiz jest oceniany ręcznie; nie ma kto ocenić odpowiedzi ponownie.
attempt_open: Test wciąż trwa; oceń tę odpowiedź po jego zakończeniu.
not_found: Nie znaleziono tej odpowiedzi.
not_created: Odpowiedzi otwarte pochodzą od studentów; tutaj nie można ich dodawać ani usuwać.