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
Connect your code to JIRA
Link every code change to JIRA just by adding an issue keys in commit messages. Bridge the gap back to your source and know which changes fixed which JIRA issues.Git & Mercurial in the cloud
Collaborate across unlimited private code repositories.
Git behind the firewall
Manage and collaborate on Git repositories behind a firewall.
Browse and search code
Browse, search, and track source code repositories.