-
Bug
-
Resolution: Duplicate
-
Minor
-
None
-
5.0 regressions
-
None
I encountered the following issue in Moodle-Docker. It may be a problem on my side, but I report it as 5.0 regression just to be sure.
Steps to reproduce:
- Prepare a Moodle release 4.5.4 codebase
- Install the Moodle instance so that it can be used
- Enable full debugging, ideally in config.php with
$CFG->debug = (E_ALL);
- Update the Moodle codebase to Moodle release 5.0+ (as of May 2, commit 69b36a36b4669b2c67a2822cc491194b2da3cedb)
- Run the Moodle upgrade in the GUI
Expected result:
- The Moodle instance is upgraded to Moodle 5.0 without any problems
Actual result:
- When upgrading the Moodle instance, an error is shown during the upgrade:
The capability 'mod/data:comment' is deprecated. This capability should not be used anymore.
- After reloading the page, another error is shown during the upgrade:
The capability 'tiny/premium:accesspremium' is deprecated.This capability has been renamedIt will be replaced by 'tiny/premium:use'.
- After reloading the page once more, the upgrade finishes successfully
- has been marked as being related by
-
MDL-77237 Debugging erroneously called during upgrade when cleaning up capabilities
-
- Development in progress
-