The dupe control displays an invalid error message
Bug #348894 reported by
Eleanor Berger
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Medium
|
Eleanor Berger |
Bug Description
The dupe control handles all 400 errors by displaying the message:
{bug #} is not a valid bug number or nickname
But that's not necessarily the case. Any invalid input, like entering a valid bug number that can't be linked for other reasons (same bug, already duped, etc) will trigger this error condition.
The solution is to use the text returned by the server (it can be found in the response body).
Changed in malone: | |
status: | Triaged → In Progress |
Changed in malone: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
As it happens, the UI is already designed to display any error other than 400 using the text from the server, so all we need to do is change the error code returned by the server.