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

Course contacts cache should be purged when role is renamed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Critical Critical
    • 3.0.1
    • 3.0, 3.1
    • Caching, Course
    • MOODLE_30_STABLE, MOODLE_31_STABLE
    • MOODLE_30_STABLE
    • MDL-52370-master
    • Hide

      Site level changes:

      1. As admin
      2. In role settings, change the name of a role which is in course contacts
      3. View the course in course listings
      4. VERIFY: The name of the role displayed in course contacts matches the changed name immediately

      Course level changes:

      1. As teacher
      2. In course settings, change the name of a role which is in course contacts
      3. View the course in course listings
      4. VERIFY: The name of the role displayed in course contacts matches the changed name immediately
      Show
      Site level changes: As admin In role settings, change the name of a role which is in course contacts View the course in course listings VERIFY: The name of the role displayed in course contacts matches the changed name immediately Course level changes: As teacher In course settings, change the name of a role which is in course contacts View the course in course listings VERIFY: The name of the role displayed in course contacts matches the changed name immediately

      Steps to reproduce:

      1. In course settings, change the name of a role
      2. View the course in course listings
      3. Examine the course contacts

      Expected results:

      • When user changes the name of a role it should be reflected in UI immediately

      Actual results:

      • Caching means the course contacts displays out of date info

      Analysis:
      Likely can be solved by calling coursecat::role_assignment_changed($ra->roleid, $context); when a role is renamed in the course form.

            poltawski Dan Poltawski
            poltawski Dan Poltawski
            cameron1729 cameron1729
            David Monllaó David Monllaó
            Ryan Wyllie Ryan Wyllie
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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