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

rebuild_course_cache not being called after AJAX show/hide

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Minor
    • 1.8.5, 1.9, 2.0
    • 1.8, 1.9
    • Course, JavaScript
    • None
    • MOODLE_18_STABLE, MOODLE_19_STABLE
    • MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE

    Description

      When using advanced editing features (AJAX), showing and hiding was only calling rebuild_course_cache() for deletion. This meant that switching modes (to Student View) etc was not reflecting the changes.

      The attached patch to course/rest.php applies calls it after all other changes.

      Attachments

        Activity

          People

            skodak Petr Skoda (Inactive)
            mylescarrick Myles Carrick
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Clockify

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