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

rebuild_course_cache not being called after AJAX show/hide

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8, 1.9
    • Fix Version/s: 1.8.5, 1.9, 2.0
    • Component/s: Course, JavaScript
    • Labels:
      None
    • Affected Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE
    • Fixed Branches:
      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.

        Gliffy Diagrams

          Activity

          Hide
          skodak Petr Skoda added a comment -

          fixed in cvs, thanks for the report and patch

          Show
          skodak Petr Skoda added a comment - fixed in cvs, thanks for the report and patch

            People

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

              Dates

              • Created:
                Updated:
                Resolved:
                Fix Release Date:
                3/Mar/08