+addpackage oopses if the "Source Package Name" is left blank
Bug #344376 reported by
Ursula Junque
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Curtis Hovey |
Bug Description
Steps to reproduce:
1) Go to a project which you have admin permissions, I created https:/
2) Go to foobar2/
3) Without filling in the Source Package Name field, click on Continue
4) OOPS-1172S158, KeyError: 'sourcepackagename'
More: OOPS-1204H98
Related branches
lp:~sinzui/launchpad/package-link-validation-1
- Eleanor Berger (community): Approve (code)
-
Diff: 394 lines6 files modifiedlib/lp/registry/browser/packaging.py (+35/-7)
lib/lp/registry/browser/tests/productseries-views.txt (+52/-15)
lib/lp/registry/doc/sourcepackage.txt (+0/-15)
lib/lp/registry/interfaces/packaging.py (+12/-4)
lib/lp/registry/model/packaging.py (+17/-7)
lib/lp/registry/tests/test_packaging.py (+92/-9)
description: | updated |
tags: |
added: package-link removed: registry-projects |
Changed in launchpad-registry: | |
importance: | Low → High |
status: | Triaged → In Progress |
assignee: | nobody → Curtis Hovey (sinzui) |
milestone: | none → 3.1.10 |
summary: |
- in +addpackage in a project, it oopses if the "Source Package Name" is - left blank + +addpackage oopses if the "Source Package Name" is left blank |
To post a comment you must log in.
Clearly there is a required field that is not marked as such, or the view assumes it will always be passed.