Moodle 4

Re: Moodle 4

by Richard Lobb -
Number of replies: 0
The problem here is the order in which things happened. It's not related to the version of Moodle or the plugin.

Every question type has its own code for backing up and restoring its questions. This includes copying all the question-specific info to the question type's own database table(s).

It seems you did a course restore onto a Moodle system that didn't have CodeRunner installed. So the question-specific processing didn't take place and all the extra info was lost. The only way to recover is to go back to the course backup and repeat the restore.

Note that this is true of all plugins: you need to install any required plugins before restoring a course that requires them. The system should have warned you it couldn't properly restore the course, but the severity of the warning is perhaps somewhat understated.