opaque error message attempting to use a branch from a different product as a series branch

Bug #121750 reported by Barry Warsaw
2
Affects Status Importance Assigned to Milestone
Launchpad itself
Triaged
Low
Unassigned

Bug Description

When attempting to change the series detail for mailman-administrivia/main I wanted to set the branch to ~mailman-administrivia/mailman/admin, however that branch is already associated with the mailman product/project. The error message you get is:

~mailman-administrivia/mailman/admin is not a branch of GNU Mailman Administrivia.

The problem is that it's incredibly difficult to fix this because for one thing, it's not obvious that a branch can only be associated with one product (unless you know the code <wink>), and for another, the error message does not tell you which product the branch already /is/ associated with.

At the very least, the error message should include the branch.product name, with a link so that you can go to the project the branch is already associated with.

Tags: lp-code ui
Revision history for this message
Barry Warsaw (barry) wrote :

This may be related to bug 31308 because it would be nice if the error message pointed you right at the u/i to change a branch's product.

Revision history for this message
David Allouche (ddaa) wrote :

You probably do not mean bug 31308 (Cannot set branch associated to a product series), which was fixed a long time ago.

IIRC, the branch unique name displayed in the error message is a hyperlink to the branch, so the edit form where you can change the branch product is two clicks away.

It would probably good to improve the message to be more explicit and and say which project (using the displayname) the requested branch belongs to. Approving the bug for the purpose of this fix.

Changed in launchpad:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
David Allouche (ddaa) wrote :

And retargetting to launchpad-bazaar too.

Tim Penhey (thumper)
Changed in launchpad-bazaar:
assignee: nobody → paulhummer
Revision history for this message
Jonathan Lange (jml) wrote :

Barry, it would be helpful if you could post some simple steps to reproduce this bug.

Changed in launchpad-bazaar:
status: Confirmed → Triaged
Paul Hummer (rockstar)
Changed in launchpad-bazaar:
assignee: rockstar → nobody
summary: - get_series_branch_error() is less helpful than it could be
+ opaque error message attempting to use a branch from a different product
+ as a series branch
Changed in launchpad:
importance: Medium → Low
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.