creation of new course: all platform users are subscribed automatically
May be a bug, may be a setting that should be turned off instead of on by default (I couldn't find any setting influencing this) but when I create a new course and go to "users", all current system users are enrolled in the course automatically
Updated by Nathalie Blocry almost 11 years ago
I had troubles recreating the bug too.
It seems it's not a real bug, just some strange behavior
I created courses with a script. I did set the titular for a course but didn't add this user to the course's users. the result is that all platform-users are displayed as subscribed to a course. I changed the script and now everything seems fine. I will do some more testing.
strange behavior though, I think other people creating courses with a script might be running into the same problem so maybe something to mention in the documentation or faq
Updated by Sven Vanpoucke almost 11 years ago
Now i know what the real problem is. When no users are subscribed. The conditions are empty, and thus all users are shown in the lists. This should be avoided. You can do this for now by using a fake condition like new EqualityCondition(User :: PROPERTY_ID, 0) when no conditions are given to show the list.