Merge lp:~salgado/launchpad/bug-568102 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-568102 |
Merge into: | lp:launchpad |
Diff against target: |
253 lines (+123/-77) 3 files modified
lib/canonical/launchpad/testing/browser.py (+1/-1) lib/canonical/launchpad/webapp/login.py (+100/-76) lib/canonical/launchpad/webapp/tests/test_login.py (+22/-0) |
To merge this branch: | bzr merge lp:~salgado/launchpad/bug-568102 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gary Poster (community) | Approve | ||
Review via email: mp+24229@code.launchpad.net |
Description of the change
This branch contains a fix for bug 568102.
The actual fix is trivial and can be seen on r10785, together with its
test.
However, to make the trivial fix possible I had to refactor a few things
on the view. This refactoring is on r10784.
I think it will be easier to review them separately.
To post a comment you must log in.
Very nicely done. Good advice to look at the two revisions separately, thank you.
My only suggestion is to add a comment within processPositive Assertion for the code that creates an account when there was a positive OpenId assertion but no Account--something that just says what the code path is for. On this order:
# We got an OpenID response containing a positive assertion, but we don't have an account for the identifier. We'll create one.
Thank you!
Gary