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
- All
- Comments
- History
- Activity
- Transitions
- Commits
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 ] |