-
Bug
-
Resolution: Fixed
-
Critical
-
3.0.1, 3.0.2, 3.0.3, 3.1
-
MOODLE_30_STABLE, MOODLE_31_STABLE
-
MOODLE_30_STABLE, MOODLE_31_STABLE
-
MDL-55020-master-pluginzip -
When installing a new report plugin, with the component name report_benchmark, I get an error with any Moodle 3.x version (but not with Moodle 2.x versions).
" _ Plugin report_benchmark does not declare valid $plugin->component in its version.php.
line 328 of \lib\classes\plugin_manager.php: call to debugging()
line 348 of \lib\classes\plugin_manager.php: call to core_plugin_manager->load_present_plugins()
line 217 of \lib\classes\plugininfo\base.php: call to core_plugin_manager->get_present_plugins()
line 143 of \lib\classes\plugininfo\base.php: call to core\plugininfo\base->load_disk_version()
line 97 of \lib\classes\plugininfo\base.php: call to core\plugininfo\base::make_plugin_instance()
line 408 of \lib\classes\plugin_manager.php: call to core\plugininfo\base::get_plugins()
line 368 of \lib\classes\plugin_manager.php: call to core_plugin_manager->get_plugins_of_type()
line 1131 of \lib\classes\plugin_manager.php: call to core_plugin_manager->get_plugins()
line 1132 of \admin\renderer.php: call to core_plugin_manager->missing_dependencies()
line 212 of \admin\renderer.php: call to core_admin_renderer->missing_dependencies()
line 662 of \admin\index.php: call to core_admin_renderer->upgrade_plugin_check_page()_"
Furthemore then "Backups" report plugin disappeared!
Looking at the ./report/ directory it appears that during the installation process
- the "./report/backups" is renamed "benchmark";
- the "moodlebenchmark-master" is not renamed;
After manually renaming of theses directories everything goes fine.
- is a regression caused by
-
MDL-49329 Multiple improvements in the plugins installation/update system
- Closed