-
Sub-task
-
Resolution: Fixed
-
Critical
-
2.1.10, 2.2.7, 2.3.4, 2.4.1
-
MOODLE_21_STABLE, MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
-
MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
-
MDL-37774-folder-conversion -
-
One of our faculty has a course with a link to "Course Documents" in our 1.9 system. When they backup the course and attempt to restore to 2.x, they are given an error "error/moodle/file invalid path", with debug on, I can see that it having trouble with paths, as it has // in the path name for the debug error.
It took me a while to find this, but, turning off this particular element in the backup allows for the restore to work.
To test:
In moodle 1.9 or prior, add a resource "Display a directory". Point to a directory in your course with files; in my case "Main files directory".
Backup your course in 1.9
Restore the course in 2.x
Receive error message.