Details
-
Type: Bug
-
Status: Resolved
-
Priority: Minor
-
Resolution: Fixed
-
Affects Version/s: Current Version
-
Fix Version/s: None
-
Component/s: Evaluation Engine / Workers
-
Labels:
Description
When a new question is added to a quiz, and then rejudging old submittions to the same quiz, a crash will occur and these submissions will corrupt (making them impossible to view without a crash).
Probably the same will happen, if we remove or significantly change a question (though I didn't test that)
Probably the same will happen, if we remove or significantly change a question (though I didn't test that)
Issue Links
- relates to
-
SIO-2295 Multiple minor bugs in quizzes (meta-ticket)
https://gerrit.sio2project.mimuw.edu.pl/3568
SIO-2297When adding new question to a quiz, rejudging old submissions breaks themI modified method responsible for scoring quiz, as well as method for scoring
question so that it is checked if any answer was submitted for a particular question.
If there is no submitted answer, then such question is ignored and not counted to
the overall quiz score.
I added two test cases for rejudging quiz after adding new questions.
Change-Id: I981005ca9601833e24490ea88190feaa92e8a44b