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

Allow the ability to delete a cache definition without breaking upgrades

XMLWordPrintable

    • MOODLE_34_STABLE, MOODLE_35_STABLE

      See MDL-57936.

      An example of where we remove a cache definition from core - https://github.com/moodle/moodle/commit/9470e4d1ed65fb1e9dfeaeb167aab10584cb50e1.

      The problem is a version bump is not enough to clear the cache file so you encounter the following error -

      Coding error detected, it must be fixed by a programmer: The data source class does not exist
      

      The current workaround from matteo is:

      Removing muc/ will reset the cache stores mapping to the default setting so that is the workaround, together w/ removing the cache/ folder to let MUC regenerate it according to the default setting.

            Unassigned Unassigned
            markn Mark Nelson
            Votes:
            4 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved:

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