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

          Stanisław Strzelecki made changes -
          Field Original Value New Value
          Link This issue relates to SIO-2295 [ SIO-2295 ]
          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 ]
          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
          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
          New New Resolved Resolved
          69d 1h 12m 1 Michał Niedziółka 2020-01-28 18:56
          Resolved Resolved Closed Closed
          34d 21h 12m 1 Szymon Acedański 2020-03-3 16:08

            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: