-
Bug
-
Resolution: Cannot Reproduce
-
Minor
-
None
-
4.4.3
-
None
-
MOODLE_404_STABLE
On my site if I restore a course with admin/cli/restore_backup.php it's not listed on the Manage course categories and courses page. I have to purge all caches to see it.
Steps to reproduce issue
- Back up a course.
- Copy the mbz file to somewhere the web server's user account (for example, apache or www-data) can see this.
- Run sudo -u apache /usr/bin/php admin/cli/restore_backup.php --file=/PATH/TO/backup-moodle2-FILENAME.mbz --categoryid=1.
Expected results
Course Restore as a new course is listed on the Manage course categories and courses page if I refresh the page.
Actual results
The restored course is not listed on the Manage course categories and courses page, but it does exist.