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

Caching get_plugin_list_with_file

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.6
    • Fix Version/s: 2.6
    • Component/s: Performance
    • Labels:
    • Testing Instructions:
      Hide
      1. Navigate through Moodle a bit (testing the navigation)
        • As admin, teacher and student
        • In different contexts
        • There shouldn't be any error
      2. Get to a quiz as an admin, and make sure you see all the available reports (results) in the settings block.
      3. Check that all the assignment plugins are visible in the administration block (Site admin > Plugins > Assignment plugins)
      4. In workshop, get to the PHASE_EVALUATION, and make sure you can select an evaluation method.
      5. Make sure the admin can add instances of cache (stores, locks, etc...)
      Show
      Navigate through Moodle a bit (testing the navigation) As admin, teacher and student In different contexts There shouldn't be any error Get to a quiz as an admin, and make sure you see all the available reports (results) in the settings block. Check that all the assignment plugins are visible in the administration block (Site admin > Plugins > Assignment plugins) In workshop, get to the PHASE_EVALUATION, and make sure you can select an evaluation method. Make sure the admin can add instances of cache (stores, locks, etc...)
    • Affected Branches:
      MOODLE_26_STABLE
    • Fixed Branches:
      MOODLE_26_STABLE
    • Pull from Repository:
    • Pull Master Branch:
      MDL-41100-master
    • Story Points:
      8
    • Sprint:
      BACKEND Sprint 3

      Description

      This function is called on each request to populate the navigation, and from a few other places.

      See usage of:

      • get_plugin_list_with_file
      • get_plugin_list_with_function

      This could be cached in core_component as it is an unnecessary access to the file system.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                18/Nov/13