Details

    • Type: Sub-task
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3
    • Fix Version/s: 2.5
    • Component/s: Libraries, Performance
    • Labels:
    • Testing Instructions:
      Hide
      1. Edit your sites config.php and add "$CFG->perfdebug = 15;" if its not there already.
      2. Log in as admin
      3. Browse to settings > plugins > caching > configuration
      4. Check that you see a definition for a config cache
      5. Check you have a core/config section in the performance info area at the bottom of the page.
      6. Log out and log in as a student.
      7. Browse to a course.
      8. Check you have a core/config section in the performance info area at the bottom of the page.
      9. Browse to a module and check again.
      10. Install from scratch, without any config.php. No exceptions/errors/warnings/notices related with $CFG/config happen (display errors/logs).
      11. Upgrade to 2.5dev from any previous branch. No exceptions/errors/warnings/notices related with $CFG/config happen (display errors/logs).
      Show
      Edit your sites config.php and add "$CFG->perfdebug = 15;" if its not there already. Log in as admin Browse to settings > plugins > caching > configuration Check that you see a definition for a config cache Check you have a core/config section in the performance info area at the bottom of the page. Log out and log in as a student. Browse to a course. Check you have a core/config section in the performance info area at the bottom of the page. Browse to a module and check again. Install from scratch, without any config.php. No exceptions/errors/warnings/notices related with $CFG/config happen (display errors/logs). Upgrade to 2.5dev from any previous branch. No exceptions/errors/warnings/notices related with $CFG/config happen (display errors/logs).
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_25_STABLE
    • Pull Master Branch:
      wip-MDL-34344-m25

      Description

      type of data: database records
      data structure: php object
      when it gets stored: early in setup in initialise_cfg
      where it gets stored: $CFG global
      how it gets read: php object properties
      does it need locking: don't think so..
      how it gets cleared: It doesn't really, set_config will update it if updating.
      typical sizes:
      safeguards in place (eg limits):

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    14/May/13