-
Bug
-
Resolution: Fixed
-
Blocker
-
4.0
-
MOODLE_400_STABLE
-
MOODLE_400_STABLE
-
MDL-72907-master -
-
Moppies Kanban
enable_plugin function for repositories created in MDL-72720 is working when disabling a repository plugin, but not when enabling a disabled one. The reason why is not working is because is checking that the repository exists in 'mdl_repository' table, but only active repositories could be found in that table.
The reason why was not implemented in MDL-72720 is because for some cases we need more information/settings to enable a plugin, so it's not easy to validate if the plugin could be enabled or not.
Found working on MDL-72769, this will be an important bug for MDL-72112. Taking into consideration that new installations will follow Lite settings, with some repositories disabled by default, if the admin tries to change to 'Full Moodle' preset, those repositories won't be enabled and the admin would need to enable them manually.