distro_series.getSourcePackage behaves oddly
Bug #420230 reported by
Brian Murray
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Low
|
Unassigned |
Bug Description
When using the following commands with the Launchpad API I received back an object and I don't think I should have.
ubuntu = launchpad.
karmic = ubuntu.
karmic.
<source_package at https:/
However, compiz-plugins does not exist in Karmic - https:/
Related branches
lp:~sinzui/launchpad/ds-get-source-package
Merged
into
lp:launchpad
- Paul Hummer (community): Approve (code)
-
Diff: 22 lines (+3/-2)1 file modifiedlib/lp/registry/interfaces/distroseries.py (+3/-2)
tags: | added: api |
Changed in launchpad-registry: | |
milestone: | none → series-3.1 |
Changed in launchpad-registry: | |
milestone: | series-3.1 → 3.1.12 |
assignee: | nobody → Curtis Hovey (sinzui) |
status: | Triaged → In Progress |
Changed in launchpad-registry: | |
milestone: | 3.1.12 → series-3.1 |
status: | In Progress → Triaged |
assignee: | Curtis Hovey (sinzui) → nobody |
Changed in launchpad-registry: | |
status: | Triaged → In Progress |
assignee: | nobody → Curtis Hovey (sinzui) |
milestone: | series-10.05 → 10.02 |
Changed in launchpad-registry: | |
status: | In Progress → Fix Committed |
tags: | added: qa-needstesting |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
assignee: | Curtis Hovey (sinzui) → nobody |
To post a comment you must log in.
This happens because the name can be matched to all distro series. This relates to bug 204119. If we choose not return the non-existent package, we need to verify this does not prevent uploaders adding packages.