Regrading quizzes with questiontype "random"

Regrading quizzes with questiontype "random"

by Marius Rosenbaum -
Number of replies: 1
Picture of Core developers

Hello everyone,

we're currently using Moodle 4.1.7 and are running into issues related to regrading quizzes that contain random questions. Specifically we get the error

You can only regrade using a different version of the same question, not a completely different question.

I edited the PHP-File to find out which questions moodle is complaining about specifically and it turns out the regrade fails because moodle is trying to regrading using a different question from available random questions.

Is this a bug or are we using random questions incorrectly? Any help is appreciated!

Marius smile

Attachment quiz.png
Average of ratings: -