slub / slub_events

EXT:slub_events

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrong error message for overbooked GB events

twaurisch opened this issue · comments

If an event is already full and another user is completing the Genius Bar registration form a wrong error message appears.

Error messages

- Die eingegebene Anzahl der Personen ist nicht gültig.
- Die Veranstaltung ist bereits ausgebucht.

The first message is wrong because the value '1' is always submitted. The problem results because of the else-branch in SubscriberValidator on line 116 to 126.