Details
-
Type:
Bug
-
Status:
Reopened
-
Priority:
Critical
-
Resolution: Unresolved
-
Affects Version/s: 1.9.2, 1.9.3, 1.9.4, 1.9.5, 2.2.1
-
Fix Version/s: STABLE backlog
-
Labels:
-
Database:MySQL, PostgreSQL
-
Affected Branches:MOODLE_19_STABLE, MOODLE_22_STABLE
Description
If you have questions defined within a course but there are no quiz modules, those questions will never be included within a course backup. Looking at the code in the quiz module it is handling the adding of questions to the backup_ids table in a display function (before the backup process has even been executed).
I had a filed a bug relating to the quiz issue before as it was causing problems with the silent backup and restore code but the silent backup and restore code was the only thing fixed: MDL-19343
I was hoping that previous bug would generate some discussion about the quiz module not using the backup API correctly as it should not be inserting information into the 'backup_ids' table when simply generating the HTML list of quiz activities within a course.