• MOODLE_23_STABLE, MOODLE_25_STABLE
    • MOODLE_25_STABLE
    • MDL-34401-muc-pluginlib
    • Hide

      Close your eyes and keep staying on your left foot only for a couple of minutes.

      Show
      Close your eyes and keep staying on your left foot only for a couple of minutes.
    • Hide

      Testing difficulty: Medium (test site upgrades and add-on installation to be done)

      1. Make sure that upgrading 2.3 -> patched 2.5 and 2.4 -> patched 2.5 works with no error related to this patch.
      2. Make sure that all tests from lib/tests/pluginlib_test.php pass.
      3. Browse the test site for a while and make sure everything seems to work as expected (JavaScript, file picker etc). Watch the MUC usage stats in the footer (you may need to define MDL_PERF and MDL_PERFTOFOOT constants in config.php). You should get hits in core_plugin* caches at most of the pages (at some administration pages, these caches are automatically purged so you can see the caches being set there with no hits).
      4. Try to disable/enable some activity modules, blocks, filters, repositories and/or portfolios. Again, no regression should be spotted.
      5. Try to install some add-on module or block. Again, no new error message or warning should be detected.
      6. So far so good? Hmm. That's suspicious... Anyway, let us consider it tested Thanks!
      Show
      Testing difficulty: Medium (test site upgrades and add-on installation to be done) Make sure that upgrading 2.3 -> patched 2.5 and 2.4 -> patched 2.5 works with no error related to this patch. Make sure that all tests from lib/tests/pluginlib_test.php pass. Browse the test site for a while and make sure everything seems to work as expected (JavaScript, file picker etc). Watch the MUC usage stats in the footer (you may need to define MDL_PERF and MDL_PERFTOFOOT constants in config.php). You should get hits in core_plugin* caches at most of the pages (at some administration pages, these caches are automatically purged so you can see the caches being set there with no hits). Try to disable/enable some activity modules, blocks, filters, repositories and/or portfolios. Again, no regression should be spotted. Try to install some add-on module or block. Again, no new error message or warning should be detected. So far so good? Hmm. That's suspicious... Anyway, let us consider it tested Thanks!

      /lib/pluginlib has a number of static caches for things that don't change very much and may get called a lot. A good candidate for persistent caching between upgrades I think.

      $this->pluginsinfo
      $this->subpluginsinfo

      $pluginversions
      $blocksinfocache
      $globalstatescache
      $modulesinfocache
      $repositories
      $portfolios

      Other candidates are core functions like get_plugin_list().

            mudrd8mz David Mudrák (@mudrd8mz)
            dougiamas Martin Dougiamas
            Damyon Wiese Damyon Wiese
            Dan Poltawski Dan Poltawski
            Votes:
            1 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.