Merge lp:~michael.nelson/launchpad/591010-locationerror-related-packages into lp:launchpad
| Status: | Merged |
|---|---|
| Approved by: | Jelmer Vernooij on 2010-06-10 |
| Approved revision: | no longer in the source branch. |
| Merged at revision: | 10987 |
| Proposed branch: | lp:~michael.nelson/launchpad/591010-locationerror-related-packages |
| Merge into: | lp:launchpad |
| Diff against target: |
93 lines (+49/-3) 3 files modified
lib/lp/registry/browser/tests/test_person_view.py (+47/-1) lib/lp/registry/templates/person-related-software.pt (+1/-1) lib/lp/soyuz/templates/person-ppa-packages.pt (+1/-1) |
| To merge this branch: | bzr merge lp:~michael.nelson/launchpad/591010-locationerror-related-packages |
| Related bugs: |
| Reviewer | Review Type | Date Requested | Status |
|---|---|---|---|
| Jelmer Vernooij (community) | code | 2010-06-10 | Approve on 2010-06-10 |
|
Review via email:
|
|||
Description of the Change
Please review my branch:
bzr+
revision 10980.
Demo URL: Demonstrating just shows that the page doesn't oops, but if you're
really keen, you can view the page with the correct data by
putting a breakpoint at the end of the test and then running `make
LPCONFIG=testrunner run`. In the debugger, get the user name with
`self.user.name` and plug that in to:
https:/
Test command: bin/test -vv -m test_person_view -t
TestPersonRelat
The two template fixes are one-liners, creating the tests was a bit confusing.
To reproduce the problem required publishing a package in the users PPA, but
with a build built in the context of a distro archive (ie. as if it had been
copied out). I created an XXX with an associated bug:
https:/
but for the moment just ensured the oops is fixed (so this can be CP'd if
necessary).
| Jelmer Vernooij (jelmer) wrote : | # |
| Michael Nelson (michael.nelson) wrote : | # |
Woops... when cleaning up the stray registry import, I'd then placed it out of order again. Updated. Thanks!

The buildmaster import seems somewhat out of place, I would expect it to sort before all of the registry imports.