Details
-
Type: Bug
-
Status: Closed
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: Current Version
-
Fix Version/s: None
-
Component/s: Evaluation Engine / Workers
-
Labels:
Description
When system error occurs in quiz judging, a crash occurs when trying to open the broken submission.
Instead, a graceful blue "System error" status should appear, with traceback (as it happens, when normal submittion to a problem gets a system error).
Ways to reproduce:
1) break handlers.py for quizes. For example, in function "_match_text_input" delete in if "question", so that unexisting object "quiz" is used. ("if quiz.controller.is_case_ignored():").
After saving the file and relaunching sioworkers, submit a quiz solution and try to view submission.
2) submit a solution to quiz. Then, add a new question to the quiz. Then, rejudge the solution. An error will appear, when trying to view it
Instead, a graceful blue "System error" status should appear, with traceback (as it happens, when normal submittion to a problem gets a system error).
Ways to reproduce:
1) break handlers.py for quizes. For example, in function "_match_text_input" delete in if "question", so that unexisting object "quiz" is used. ("if quiz.controller.is_case_ignored():").
After saving the file and relaunching sioworkers, submit a quiz solution and try to view submission.
2) submit a solution to quiz. Then, add a new question to the quiz. Then, rejudge the solution. An error will appear, when trying to view it
Issue Links
- relates to
-
SIO-2295 Multiple minor bugs in quizzes (meta-ticket)
Activity
Stanisław Strzelecki
made changes -
Szymon Acedański
made changes -
Labels | tag1 |
Michał Niedziółka
made changes -
Assignee | Michał Niedziółka [ niedziol ] |
Michał Niedziółka
made changes -
TAG Developer | Michał Niedziółka [ niedziol ] |
Michał Niedziółka
made changes -
Status | New [ 10000 ] | Resolved [ 5 ] |
Assignee | Michał Niedziółka [ niedziol ] | Szymon Acedański [ accek ] |
Resolution | Fixed [ 1 ] |
Szymon Acedański
made changes -
Status | Resolved [ 5 ] | Closed [ 6 ] |
Transition | Time In Source Status | Execution Times | Last Executer | Last Execution Date | |||||
---|---|---|---|---|---|---|---|---|---|
|
69d 1h 12m | 1 | Michał Niedziółka | 2020-01-28 18:56 | |||||
|
34d 21h 12m | 1 | Szymon Acedański | 2020-03-3 16:08 |
https://gerrit.sio2project.mimuw.edu.pl/3397
SIO-2296fix SE and traceback in quizzesAdd transaction.atomic to score_quiz
Add catch an exception in reports.
Change-Id: I1cddcc51299b41b9fef0594cf482200792032980