Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.9.1
-
Fix Version/s: None
-
Component/s: Assignment
-
Labels:None
-
Environment:Ubuntu, php 5.2.4, Mysql 5.0.51a
-
Database:MySQL
-
Affected Branches:MOODLE_19_STABLE
Description
Teachers are losing their role as described in this thread:
http://moodle.org/mod/forum/discuss.php?d=110027
and this later thread:
http://moodle.org/mod/forum/discuss.php?d=113577
Logs on affected courses clearly show administrators assigning teacher roles.
Teachers can clearly be seen adding activities.
Then, inexplicably all teachers are removed from the course. Courses then show no teachers, where there may have been two or three previously.
There are no "un-assign" entries in the logs of the course. These teachers are not removing themselves or being removed.
This is nothing to do with longtimenosee, active teachers are being removed. For example, today I found a course where the teacher was last active 13 days ago had been removed from a course, along with all their colleagues.
Additionally in am forum thread, another admin with this problem set the moodle/roles:unassignself to prevent users un assigning themselves. Again, I know this is not the cause as I would see "un-assign" in the logs for that course.
Courses I have been asked to look at have no teachers and no course creators assigned.
It is worth mentioning that these courses were originally imported form another Moodle system and the roles subsequently added. However, there were no issues with access for at least six months. This has only recently started happening.
Regards, Jeremy
#Update#
I have observed teachers being removed when manually running cron.php on a test system.
Affected courses seem to have an "Enrolment duration" set in the course settings, though, another user commenting in the forum thread says that their courses have unlimited duration and still suffer the same issue.
I am seeing this same issue. My server is a Windows 2003 with PHP 5.2.6, MySQL5.0.51b and Moodle 1.9.7.