Merge lp:~abentley/launchpad/mandatory-bug-title into lp:launchpad
Status: | Merged |
---|---|
Merged at revision: | 14393 |
Proposed branch: | lp:~abentley/launchpad/mandatory-bug-title |
Merge into: | lp:launchpad |
Diff against target: | 0 lines |
To merge this branch: | bzr merge lp:~abentley/launchpad/mandatory-bug-title |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Brad Crittenden (community) | code | Approve | |
Review via email: mp+83446@code.launchpad.net |
Commit message
Make bug title a mandatory field.
Description of the change
= Summary =
Make bug titles mandatory. There is no value in hiding them. This happens to fix bug #894449: It's possible to create an entirely useless bug listing
== Proposed fix ==
== Pre-implementation notes ==
Discussed with the product team
== Implementation details ==
As well as making title mandatory, this also changes cookie handling.
While cookies control field visibility, they can no longer add fields not present in the defaults, so they can't add the obsolete show_title field. Similarly, fields that are missing from the cookie are now provided from the default.
== Tests ==
bin/test browser.
== Demo and Q/A ==
Go to a dynamic bug listing page. Click the gear. "Bug title" should not be listed, but the titles should be displayed in the listings.
= Launchpad lint =
Checking for conflicts and issues in changed files.
Linting changed files:
lib/lp/
lib/lp/
lib/lp/
lib/lp/
versions.cfg
setup.py
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
lib/lp/
./lib/lp/
58: Line has trailing whitespace.
./lib/lp/
439: Line exceeds 78 characters.
439: E501 line too long (82 characters)
Looks good Aaron. Would you mind terribly making this comment a sentence, i.e. capitalization and punctuation?
# skip unsupported fields (from old cookies)
I may be showing my ignorance of how cookies are constructed but are we assured 'true' and 'false' are always spelled that way and never 'True' or 'FALSE'?