Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: Current Version
    • Fix Version/s: None
    • 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

        Issue Links

          Activity

          Hide
          Gerrit Gerrit added a comment -
          Change oioioi~master~I1cddcc51299b41b9fef0594cf482200792032980, patchset 1
          https://gerrit.sio2project.mimuw.edu.pl/3397

          SIO-2296 fix SE and traceback in quizzes

          Add transaction.atomic to score_quiz
          Add catch an exception in reports.

          Change-Id: I1cddcc51299b41b9fef0594cf482200792032980
          Show
          Gerrit Gerrit added a comment - Change oioioi~master~I1cddcc51299b41b9fef0594cf482200792032980, patchset 1 https://gerrit.sio2project.mimuw.edu.pl/3397 SIO-2296 fix SE and traceback in quizzes Add transaction.atomic to score_quiz Add catch an exception in reports. Change-Id: I1cddcc51299b41b9fef0594cf482200792032980

            People

            • Assignee:
              Szymon Acedański
              Reporter:
              Stanisław Strzelecki
              TAG Developer:
              Michał Niedziółka
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: