Details
Description
This was tested at test.moodle.com, using my own user account and admin role.
Steps to reproduce:
1. Backup a course
2. Try to restore it
3. Choose where to restore (new course, existing course etc)
What I expected to happen:
There should be dropdown list of where to restore.
What actually happen:
Dropdown list is empty. (see screenshot attachements)
Notice: Undefined variable: restore_restoreto_options in /home/moodtest/public_html/backup/restore_form.html on line 181
And when I press continue:
Course restore: backup-cf101-20061004-1603.zip
Notice: Undefined property: shortname in /home/moodtest/public_html/backup/restore_check.html on line 22
Notice: Undefined property: fullname in /home/moodtest/public_html/backup/restore_check.html on line 23
Notice: Undefined property: startyear in /home/moodtest/public_html/backup/restore_check.html on line 24
Notice: Undefined property: startmonth in /home/moodtest/public_html/backup/restore_check.html on line 24
Notice: Undefined property: startday in /home/moodtest/public_html/backup/restore_check.html on line 24
A required parameter (restore_restoreto) was missing
Attachments
Issue Links
| This issue duplicates: | ||||
| MDL-6515 | Bugs in restoring a course |
|
|
|
I guess this bug is related to roles? That's because I tested this again in test.moodle.com as Admin User. Dropdown list (restoreto_options) was working OK, but restore halts again:
Fatal error: Call to undefined function: after_restore() in /home/moodtest/public_html/backup/restorelib.php on line 813
(see
MDL-6515)MDL-6515)