-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
2.2
-
Any
-
MOODLE_22_STABLE
-
-
Prior to Moodle 2.2, repository filearea names were cleaned with PARAM_ALPHAEXT. In Moodle 2.2, they are cleaned with PARAM_AREA. For example, reference function create_file_from_string in $CFG->libdir/filestorage/file_storage.php. This prevents backing up compliant fileareas under previous Moodle versions and restoring them under Moodle 2.2. Attempting to do so generates an exception in the browser during the restore process. Plugins whose fileareas are no longer compliant must not only migrate their files to a new filearea, they are faced with the problem of broken restores as well.