Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Won't Fix
-
Affects Version/s: 1.9.2
-
Fix Version/s: None
-
Component/s: Backup
-
Labels:None
-
Environment:Share hosting - MySQL 5.0.51a - PHP 5.2.6
-
Database:MySQL
-
Affected Branches:MOODLE_19_STABLE
Description
This is very weird.
'm logged in as administrator.
I'm restoring 1.6.5+ courses without users (nor userdata).
Backup file in Front Page - Site files.
Moodle 1.9.2+ ((Build: 20080806) has to create a new course in an empty category.
The restore process tells me the (26) categories I made are not available.
If I continue the restore process it ruines my Moodle frontpage: apparently the restored course overwrites parts of it.
This restored course doesn't show up in the course list.
I then tried the blank course solution.
Uploaded backup file in Course files.
The zip file is OK: Moodle lists all files.
Roles assigned: editingteacher, teacher and Student
The backup fails at forums telling me "the default teacher role was not found".
After that I get a "No files found" message and I get transfered to the front page.
Categories indicates there was a course created but inside the category there's nothing.
To delete the whole thing I have to delete the categorie ![]()
Now, if I opt for a restore without the forums the backup executes correctly.
Is this a bug?
Is this somekind of a role issue?
I can confirm this on PHP 5 and MySQL 5.0.45 when using the same Moodle version. I was unable to choose a category from the list when the backup file was in context of the frontpage. Once these backup files were moved into the context of another course the restore worked as it should.