+packagebugs-search crashes when field.sourcepackagename is a non-existent package
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Unassigned |
Bug Description
affects /products/malone
status confirmed
Steps to reproduce (using sample data):
1. Open http://
2. Crash like: OOPS-299A2
field.sourcepac
when you change the URL manually; It should raise an UnexpectedFormData.
This URL will recreate the issue on staging:
https:/
Module lp.registry.
self.widgets[
Module zope.app.
raise self._error
ConversionError: ('Invalid value', InvalidValue("token u'fooblah' not found in vocabulary"))
The page is already being rendered at this point.
Related branches
- Henning Eggers (community): Approve (code)
-
Diff: 91 lines (+72/-2)2 files modifiedlib/lp/bugs/browser/tests/test_person_bugs.py (+70/-0)
lib/lp/registry/browser/person.py (+2/-2)
Changed in malone: | |
status: | Confirmed → Triaged |
importance: | Undecided → High |
Changed in launchpad: | |
importance: | High → Critical |
Changed in launchpad: | |
milestone: | none → 11.03 |
assignee: | nobody → Curtis Hovey (sinzui) |
status: | Triaged → In Progress |
description: | updated |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
Changed in launchpad: | |
assignee: | Curtis Hovey (sinzui) → nobody |
Fixed in stable r12384 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 12384>.