The dupe control displays an invalid error message

Bug #348894 reported by Eleanor Berger
4
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).

Tags: lp-bugs
Revision history for this message
Eleanor Berger (intellectronica) wrote :

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.

Changed in malone:
assignee: nobody → intellectronica
importance: Undecided → Medium
milestone: none → 2.2.3
status: New → Triaged
Changed in malone:
status: Triaged → In Progress
Revision history for this message
Björn Tillenius (bjornt) wrote : Bug fixed by a commit

Fixed in devel r8101.

Changed in malone:
status: In Progress → Fix Committed
Changed in malone:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.