#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