Error in quiz aptempt

Error in quiz aptempt

by Mantas Šedys -
Number of replies: 4

MOODLE VERSION: 3.8.2

Hello,

we're facing erros in several course with quiz attempt.

When I want to check the user quiz attempt from log, I'm getting the error:



In the logs, there are statement, that user completed the course


But in the system, the status is not done. 

Why could this happen? Any suggestion?

Average of ratings: -
In reply to Mantas Šedys

Re: Error in quiz aptempt

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
Which user is this? Are they a teacher or admin?
In reply to Tim Hunt

Re: Error in quiz aptempt

by Mantas Šedys -
Hi Tim,
the user has the student role in this course.
In reply to Mantas Šedys

Re: Error in quiz aptempt

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
Can you use Quiz settings -> Check permissions. Do the have mod/quiz:preview?

If not, is there any sign in the log that some user deleted this attempt?
Average of ratings: Useful (1)
In reply to Tim Hunt

Re: Error in quiz aptempt

by Mantas Šedys -
Tim, thanks!
After investigation I found the reason -> course completion and course recompletion.
The course completion is set that QUIZ must be passed (on grade).
The course recompletion is set, that after 36 weeks, the course completion must be restarted.

First time, the user passed the test at 2020-01-20. Second time, same user passed the test at 2020-08-10, but the course completion did not recalculate. smile

Now I need to think how I could recalculate the completion status every time, when user performs the test.
Average of ratings: Useful (2)