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

Purge all caches feature does not clear course modinfo cache

XMLWordPrintable

    • MOODLE_23_STABLE, MOODLE_24_STABLE, MOODLE_25_STABLE
    • MOODLE_26_STABLE
    • wip-mdl-35131
    • Hide

      1. Create a course, make note of course <id>
      2. Add a file resource and select options->display->"Open in new window"
      3. OPTIONAL: Perform SQL query "select modinfo from mdl_course where id = <id>;" to verify modinfo javascript cache was added.
      4. Change wwwroot in config.php
      5. Revisit course and click resource link. You should see an error.
      6. OPTIONAL: Perform SQL query "select modinfo from mdl_course where id = <id>;", you should see that modinfo has not been updated.

      Show
      1. Create a course, make note of course <id> 2. Add a file resource and select options->display->"Open in new window" 3. OPTIONAL: Perform SQL query "select modinfo from mdl_course where id = <id>;" to verify modinfo javascript cache was added. 4. Change wwwroot in config.php 5. Revisit course and click resource link. You should see an error. 6. OPTIONAL: Perform SQL query "select modinfo from mdl_course where id = <id>;", you should see that modinfo has not been updated.

      Purge all caches feature does not clear course modinfo cache. I noticed this problem after changing wwwroot and 'onclick' javascript links were still pointing to the old wwwroot, causing broken links for random resources.

            rajeshtaneja Rajesh Taneja
            mikehas mikehas
            Frédéric Massart Frédéric Massart
            Damyon Wiese Damyon Wiese
            Votes:
            7 Vote for this issue
            Watchers:
            15 Start watching this issue

              Created:
              Updated:
              Resolved:

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