Project

General

Profile

Bug #1918

creation of new course: all platform users are subscribed automatically

Added by Nathalie Blocry over 9 years ago. Updated almost 9 years ago.

Status:
Bug resolved
Priority:
Normal
Target version:
Start date:
31/08/2010
Due date:
% Done:

0%

Estimated time:
Complexity:
Normal

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

#1

Updated by Sven Vanpoucke over 9 years ago

  • Target version set to 18
#2

Updated by Sven Vanpoucke over 9 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?

#3

Updated by Nathalie Blocry over 9 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

#4

Updated by Sven Vanpoucke over 9 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.

#5

Updated by Stefaan Vanbillemont about 9 years ago

  • Status changed from Needs testing to Bug resolved
#6

Updated by Stefaan Vanbillemont almost 9 years ago

  • Project changed from Chamilo LCMS Connect to Courses
  • Category deleted (2)
#7

Updated by Stefaan Vanbillemont almost 9 years ago

  • Target version changed from 18 to 1.0.0

Also available in: Atom PDF