Merge lp:~salgado/launchpad/bug-462923 into lp:launchpad
Proposed by
Guilherme Salgado
Status: | Merged |
---|---|
Approved by: | Gary Poster |
Approved revision: | no longer in the source branch. |
Merged at revision: | not available |
Proposed branch: | lp:~salgado/launchpad/bug-462923 |
Merge into: | lp:launchpad |
Diff against target: |
254 lines 3 files modified
lib/canonical/launchpad/browser/logintoken.py (+39/-13) lib/canonical/launchpad/browser/tests/test_logintoken.py (+73/-0) lib/lp/testing/factory.py (+5/-4) |
To merge this branch: | bzr merge lp:~salgado/launchpad/bug-462923 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Francis J. Lacoste (community) | release-critical | Approve | |
Gary Poster (community) | Approve | ||
Review via email: mp+14232@code.launchpad.net |
To post a comment you must log in.
= Summary =
https:/ /bugs.edge. launchpad. net/launchpad- foundations/ +bug/462923
== Proposed fix ==
Fix the base class to not write to self.next_url, also changing sub
classes to define a default_next_url, used by the super class' new
next_url.
After fixing this I realized the Cancel actions in all views were using
the same validate() method as the continue action, so the users would
have to enter their email address before they could successfully cancel.
Oh, and I also fixed factory. makeGPGKey( ), which was completely broken.
== Pre-implementation notes ==
Discussed with Gary.
== Implementation details ==
== Tests ==
== Demo and Q/A ==
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files: testing/ factory. py /launchpad/ browser/ logintoken. py /launchpad/ browser/ tests/test_ logintoken. py
lib/lp/
lib/canonical
lib/canonical