When doing a quiz in different sessions, MasteryLog model is not updating the end_timestamp. It keeps the one of the first session.
Checked that contentsummarylog is doing it right, but not MasteryLog
These are the AttemptLog rows:
And this is the MasteryLog information afer the second session has ended:
Expected behavior
MasteryLog end_timestamp should reflect when the user ended working on the quiz.
User-facing consequences
Wrong stats
Steps to reproduce
create a quiz and assign it to a classroom
begin to do the quiz
close the session or the browser tab
after some time sign in again with the same user and continue doing the quiz
Observed behavior
When doing a quiz in different sessions, MasteryLog model is not updating the end_timestamp. It keeps the one of the first session. Checked that contentsummarylog is doing it right, but not MasteryLog These are the AttemptLog rows:
And this is the MasteryLog information afer the second session has ended:
Expected behavior
MasteryLog end_timestamp should reflect when the user ended working on the quiz.
User-facing consequences
Wrong stats
Steps to reproduce
Context
kolibri 0.17.3