Merge lp:~edwin-grubbs/launchpad/bug-567065-empty-branch into lp:launchpad
Status: | Merged |
---|---|
Approved by: | Edwin Grubbs |
Approved revision: | no longer in the source branch. |
Merged at revision: | not available |
Proposed branch: | lp:~edwin-grubbs/launchpad/bug-567065-empty-branch |
Merge into: | lp:launchpad |
Diff against target: |
183 lines (+80/-16) 3 files modified
lib/lp/registry/browser/productseries.py (+13/-4) lib/lp/registry/browser/tests/productseries-setbranch-view.txt (+32/-0) lib/lp/registry/browser/tests/productseries-views.txt (+35/-12) |
To merge this branch: | bzr merge lp:~edwin-grubbs/launchpad/bug-567065-empty-branch |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Francis J. Lacoste (community) | release-critical | Approve | |
Abel Deuring (community) | code | Approve | |
Review via email: mp+24497@code.launchpad.net |
Description of the change
Summary
-------
The "Submit Code" link in the involvement portlet on a product series
should be active after the user sets a branch for the series.
If you try to create a new branch with the same name as an existing
branch, you should get a warning.
Tests
-----
./bin/test -vv -t 'productseries-
Demo and Q/A
------------
* Open http://
* Create a new series.
* The "Submit code" link should be disabled.
* Use "Configure series branch" link to add a new branch.
* The "Submit code" link should now be enabled.
* Click on "Configure series branch".
* Try to add a branch with the same name as the one you just created.
* You should get an error message next to the form field.