API: IntegrityError when trying to create a newTask to a bug that already has one for that project
Bug #345904 reported by
Ursula Junque
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Unassigned |
Bug Description
Using the API, when I try to addTask on a bug that already has a task for that project, it oopses like OOPS-1174S4:
IntegrityError: duplicate key value violates unique constraint "bugtask_
It would be nice to have a proper error instead of this oops.
tags: | added: api oops |
Changed in launchpad: | |
importance: | Low → Critical |
To post a comment you must log in.
The error message could be a bit better, but other than that there's not much we can improve.