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

Manually assigning or removing a teacher role to a user does not automatically reflect in course search screens

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • 2.6.1
    • Caching, Course, Enrolments
    • None
    • MOODLE_26_STABLE

      After you manually assign or remove a teacher from a course, the course listing screen does not update the teacher names with your latest changes.

      Steps to reproduce this issue:
      1. In a course, manually assign the teacher role to a single user
      2. Browse the courses (either via expanding categories or a quick search for the course) and take note of who is listed as the teacher of the course. eg. via http://yourmoodle.com/course/index.php

      Expected behaviour:
      The teacher listed for the course would immediately reflect the manual enrolment just created.

      Actual behaviour:
      The teacher(s) listed for the course remain unchanged.

      A further test is to remove a teacher already manually assigned and check the course listing screen to see that the teacher is still listed for the course.

      Workaround:
      You can fix this by purging all caches, either via the gui, or command line (/usr/bin/php yourmoodle/admin/cli/purge_caches.php).

            Unassigned Unassigned
            mcwoods Michael Woods
            Votes:
            3 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.