Merge lp://staging/~bac/launchpad/bug-407604-proj-desc into lp://staging/launchpad
Proposed by
Brad Crittenden
Status: | Merged |
---|---|
Merged at revision: | not available |
Proposed branch: | lp://staging/~bac/launchpad/bug-407604-proj-desc |
Merge into: | lp://staging/launchpad |
Diff against target: |
53 lines (+17/-3) 2 files modified
lib/lp/registry/browser/product.py (+5/-2) lib/lp/registry/stories/product/xx-product-add.txt (+12/-1) |
To merge this branch: | bzr merge lp://staging/~bac/launchpad/bug-407604-proj-desc |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Guilherme Salgado (community) | code | Approve | |
Review via email: mp+17028@code.staging.launchpad.net |
Commit message
Fix a bug where the product description is not set when creating a new product.
To post a comment you must log in.
= Summary =
During project registration the user enters a project description but we then fail to
use it, requiring the data to be entered again on another page. Very annoying for
our users.
== Proposed fix ==
Use the data!
== Pre-implementation notes ==
None
== Implementation details ==
As above.
Note the original test had the setting of the description wrong in that it started
with '...' not '>>>' which silently fails. Argh. Took me an hour to find that.
Wouldn't have mattered, though, as it wasn't being checked.
== Tests ==
bin/test -vvt xx-product-add.txt
== Demo and Q/A ==
Create a project. Add a description. See that it appears on the overview page.
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files: registry/ browser/ product. py registry/ stories/ product/ xx-product- add.txt
lib/lp/
lib/lp/
== Pylint notices ==
lib/lp/ registry/ browser/ product. py
54: [F0401] Unable to import 'lazr.delegates' (No module named delegates)