studentquiz / moodle-mod_studentquiz

Moodle-Plugin
GNU General Public License v3.0
38 stars 37 forks source link

XMLDB Check indexes error #433

Open levemar opened 1 year ago

levemar commented 1 year ago

When you upgrade student quiz from an earlier version, and you go to XMLDB editor > Check indexes, it displays an error that there is a missing index.

To reproduce, in Moodle 3.11 (although you can have the same error after upgrading both Moodle and Student quiz from 3.11 to 4.x, it is easier to explain using a single moodle version) :

This probably has to do with this dropping of the index in upgrade.php image

Maybe it was not the good way to drop the index? Or it indicates that something should also be changed in install.xml?

Thanks, Marie-Eve