knowledgecommonsdc / kcdc3

Django/Python software to run a free school.
http://knowledgecommonsdc.org
MIT License
4 stars 5 forks source link

Sometimes too many people end up in classes #21

Closed adavidramos closed 11 years ago

adavidramos commented 12 years ago

Lockpicking has 15 people for 13 slots. Several people appear to have signed up at the same time. Has happened twice - once apparently before the waitlist filled up, but once after.

See also Issue #8.

bradfordbarr commented 12 years ago

Confirmed.

To reproduce all you have to do is create a class with a registration size of one and have a wait list of two. Register three individuals. Have the first cancel the registration and the last two will appear on the registered list. Working on making an automated test for it now.

bradfordbarr commented 12 years ago

Steps to reproduce are wrong. To reproduce do the following:

0) Make a class with a class size of 1 and waitlist on 1) Register alice for the class 2) Register bob for the waitlist 3) Register chris for the waitlist 4) Remove bob from the waitlist

Alice and Chris should both be registered for the class.