- changed status to open
Exception when creating test with existing name
Issue #324
resolved
If I try and make a test with a name that already exists in the db e.g. "Dose" an exception is raised:
Exception Type: IntegrityError at /admin/qa/test/add/ Exception Value: duplicate key value violates unique constraint "qa_test_name_2a1f268a_uniq" DETAIL: Key (name)=(Dose) already exists.
I know users shouldn't be doing this, but might be good to avoid the exception if possible.
Comments (4)
-
-
Can confirm. Looks like TestForm doesn't validate properly. Should be an easy fix. Thanks.
-
-
assigned issue to
- marked as major
-
assigned issue to
-
- changed status to resolved
Fixed with 0331179
- Log in to comment