-
Sub-task
-
Resolution: Fixed
-
Critical
-
1.9.12, 2.0.4, 2.1.1, 2.4
-
MySQL
-
MOODLE_19_STABLE, MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_24_STABLE
-
MOODLE_22_STABLE, MOODLE_23_STABLE, MOODLE_24_STABLE
-
MDL-29334_master -
None of the site-wide database activity presets we added to our Moodleinstallation is there anymore after upgrading. The function data_get_available_presets in mod/data/lib.php returns only the preset that exist within the mod/data directory. The function data_get_available_site_presets returns nothing. DATA_PRESET_FILEAREA is set to 'site-preset' but there are no files in the database with SELECT * FROM `mdl_files` WHERE `filearea` = 'site_presets'.
In the dataroot of the installation all the presets are there as before in ..../dataroot/data/preset/courseid
It seems as if with these files nothing happened during upgrade?
- is duplicated by
-
MDL-34759 Activity Database: Preset are missing after updating from 1.9 to 2.23
-
- Closed
-