Bug #1918
creation of new course: all platform users are subscribed automatically
0%
Description
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
History
Updated by Sven Vanpoucke over 12 years ago
- Status changed from New to Needs testing
- Assignee set to Sven Vanpoucke
I can not reproduce this bug. Could i get some more information about this?
Updated by Nathalie Blocry over 12 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 over 12 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.
Updated by Stefaan Vanbillemont about 12 years ago
- Status changed from Needs testing to Bug resolved
Updated by Stefaan Vanbillemont almost 12 years ago
- Project changed from Chamilo LCMS Connect to Courses
- Category deleted (
2)