+imports page should handle URL "hacks" more gracefully, instead of OOPS with LookupError
Bug #388997 reported by
Ursula Junque
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Medium
|
Benji York | ||
zope.app.form |
Invalid
|
Undecided
|
Unassigned |
Bug Description
As seen in OOPS-1261G540:
LookupError: pot)
It oopses when a user tries to access a URL with a wrong filter_extension value, for instance:
https:/
Related branches
lp://staging/~benji/launchpad/bug-388997
- Jeroen T. Vermeulen (community): Approve (code)
-
Diff: 136 lines (+78/-4)4 files modifiedlib/canonical/launchpad/webapp/tests/test_forgiving_vocabulary.py (+28/-0)
lib/canonical/launchpad/webapp/vocabulary.py (+21/-1)
lib/lp/translations/browser/hastranslationimports.py (+7/-3)
lib/lp/translations/stories/importqueue/xx-translation-import-queue.txt (+22/-0)
Changed in rosetta: | |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in rosetta: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I think the bad URL came from here: http:// logs.ubuntu- eu.org/ free/2008/ 04/10/% 23ubuntu- translators. html
The problem happens in this part of translation- import- queue-macros. pt:
Without the "/hidden" part, the widget works just fine.
OOPS-1593G631, OOPS-1593L1388