Merge lp:~danilo/launchpad/bug-480652 into lp:launchpad
Proposed by
Данило Шеган
Status: | Merged |
---|---|
Approved by: | Данило Шеган |
Approved revision: | not available |
Merged at revision: | not available |
Proposed branch: | lp:~danilo/launchpad/bug-480652 |
Merge into: | lp:launchpad |
Diff against target: |
108 lines (+35/-4) 3 files modified
lib/lp/translations/browser/productseries.py (+2/-1) lib/lp/translations/stories/productseries/xx-productseries-translations-settings.txt (+5/-1) lib/lp/translations/stories/standalone/xx-productseries-translations.txt (+28/-2) |
To merge this branch: | bzr merge lp:~danilo/launchpad/bug-480652 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Michael Nelson (community) | code | Approve | |
Review via email: mp+15931@code.launchpad.net |
Commit message
Do not OOPS when trying to link to undefined branch for a series.
To post a comment you must log in.
= Bug 480652 =
Fix an OOPS in trying to link to a default series branch (translations are imported from) if it's not set, yet imports are requested. It OOPSes only if translations bzr export is set at the same time.
Some drive-by test cleanups as well.
= Tests =
bin/test -vvct productseries- translations. txt
= Demo & QA =
1. create a "Hosted" branch for "evolution" export: https:/ /code.launchpad .dev/evolution/ +addbranch /translations. launchpad. dev/evolution/ trunk/+ translations- settings and set export branch to the above created branch (use "~username/ evolution/ name" to set it) /code.launchpad .dev/evolution/ trunk/+ linkbranch and remove the branch reference /translations. launchpad. dev/evolution/ trunk/ doesn't OOPS with the fix, OOPSes without
2. go to https:/
3. go to https:/
4. https:/
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files: translations/ browser/ productseries. py translations/ stories/ productseries/ xx-productserie s-translations- settings. txt translations/ stories/ standalone/ xx-productserie s-translations. txt
lib/lp/
lib/lp/
lib/lp/