#4639 (Lino reports an exception when user tries to enroll same person twice)
by Luc Saffre · in Developers · assigned to Sharif Mehedi
Résumé
For example in avanti. We then get an internal server error message where actually the user should jjust get a warning. ERROR: AjaxExceptionResponse IntegrityError: (1062, "Duplicate entry '369-3895' for key 'courses_enrolment_course_id_pupil_id_27a0d73d_uniq'")\n\nin request GET /api/avanti/Clients/3899?
Concepts sous-jacents
Commentaires
- 4 ans, 1 mois ago by Luc Saffre about #4639 (Lino reports an exception when user tries to enroll same person twice) : First step: try to reproduce it locally.