Merge lp:~danilo/launchpad/bug-691634 into lp:launchpad
Status: | Merged |
---|---|
Approved by: | Данило Шеган |
Approved revision: | no longer in the source branch. |
Merged at revision: | 12106 |
Proposed branch: | lp:~danilo/launchpad/bug-691634 |
Merge into: | lp:launchpad |
Diff against target: |
100 lines (+7/-9) 7 files modified
lib/canonical/launchpad/interfaces/launchpad.py (+0/-1) lib/canonical/launchpad/utilities/celebrities.py (+0/-1) lib/lp/registry/browser/person.py (+1/-1) lib/lp/translations/browser/language.py (+2/-2) lib/lp/translations/browser/translations.py (+1/-1) lib/lp/translations/stories/standalone/xx-language.txt (+2/-2) lib/lp/translations/stories/standalone/xx-person-editlanguages.txt (+1/-1) |
To merge this branch: | bzr merge lp:~danilo/launchpad/bug-691634 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Brad Crittenden (community) | code | Approve | |
Review via email: mp+44077@code.launchpad.net |
Commit message
[r=bac][ui=none][bug=691634] Get rid of rosetta celebrity.
Description of the change
= Bug 691634 =
Since 'rosetta' product has been removed and made an alias to 'launchpad', we've started seeing OOPSes on +translations pages which try to show a link to the answers URL for rosetta.
Actually, we've seen 857 of them yesterday.
== Proposed fix ==
Get rid of the lp_translations celebrity and use launchpad celebrity exclusively.
I am not bothering with lint fixes.
== Tests ==
Ideally, we would have removed the 'rosetta' product from the sampledata as well, when we would have seen tests fail. However, I am not worrying about that yet (it might cause more tests to fail and I am supposed to be off already).
== Demo and Q/A ==
Look at https:/
- before the change
- after removing 'rosetta' project from the DB (just rename it in launchpad_dev DB: "update product set name='rosetta-gone' where name='rosetta';") - you get an OOPS
- after this fix, it works again but points to "Launchpad itself" answers app.
For QA on production, use https:/
= Launchpad lint =
Checking for conflicts and issues in changed files.
Linting changed files:
lib/canonical
lib/lp/
lib/lp/
lib/lp/
lib/canonical
./lib/canonical
30: 'UnsafeFormGetS
30: 'IBasicLaunchpa
30: 'IOpenLaunchBag' imported but unused
30: 'ILaunchpadRoot' imported but unused
30: 'ILaunchBag' imported but unused
Thanks for the quick fix Danilos