-
Bug
-
Resolution: Fixed
-
Minor
-
2.1, 2.2
-
None
-
MOODLE_21_STABLE, MOODLE_22_STABLE
-
MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE
-
Checking foreign keys violations I realized a line in mod/quiz/db/install.xml seems wrong :
<KEY NAME="uniqueid" TYPE="foreign-unique" FIELDS="uniqueid" REFTABLE="question_attempts" REFFIELDS="id" PREVIOUS="userid"/>
to me it seems that REFFIELDS should be "questionusageid" and not "id", am I wrong ?
Of course it doesn't really matter and this will not cause any harm
But what surprise me is that I am surely not the first Moodle user to look at foreign keys violations since Moodle 2.1 is out ???