Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-85365

When upgrading from Moodle 4.5.4 to 5.0+ with full debugging, capability deprecation messages are thrown

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 5.0 regressions
    • Installation
    • 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

            Unassigned Unassigned
            abias Alexander Bias
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.