DummyPOFile without language?
Bug #611179 reported by
Jeroen T. Vermeulen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Jeroen T. Vermeulen |
Bug Description
We just got an oops (just one, so probably something quite rare) that implies that a DummyPOFile has been created with its language set to None.
It looks as if the URL was bad and shouldn't have provided a page at all. It seems to be asking for the +imports page on a template, and according to the left-hand column of the oops report also adds +translate to the +imports URL.
OOPS-1670EC3710:
AttributeError: 'NoneType' object has no attribute 'alt_suggestion
Related branches
lp:~jtv/launchpad/bug-611179
- Graham Binns (community): Approve (code)
-
Diff: 122 lines (+49/-38)3 files modifiedlib/lp/translations/browser/potemplate.py (+5/-3)
lib/lp/translations/browser/tests/potemplate-views.txt (+0/-35)
lib/lp/translations/browser/tests/test_potemplate_navigation.py (+44/-0)
tags: | added: oops |
Changed in rosetta: | |
status: | New → Triaged |
importance: | Undecided → High |
description: | updated |
Changed in rosetta: | |
status: | Triaged → In Progress |
assignee: | nobody → Jeroen T. Vermeulen (jtv) |
milestone: | none → 10.09 |
tags: | added: qa-ok |
Changed in rosetta: | |
status: | In Progress → Fix Committed |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in rosetta: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
It just happened again: OOPS-1682EA2272. Note how the user (one of our colleagues) appears to be hacking the URL to get to en-US. No wonder there's no language on the POFile.