package picker lists unpublished (invalid) packages
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | Launchpad itself |
High
|
Colin Watson | ||
Bug Description
I just filed a bug against 'kernel-image-2.6'- I picked it out a list of results for 'kernel-image-2.6', since I figured that was most likely to get the most coverage on searches- and got the following note:
"Thank you for your bug report.
Note that the package 'kernel-image-2.6' is not published in Ubuntu; the bug has therefore been targeted to the distribution only."
If the package is not in the distro, and I'm filing a bug against the distro, *don't make it an option to file a bug against it*. The results shouldn't include kernel-image-2.6; it should include whatever is actually in the distro I'm filing against.
The field validator does not match the vocabulary. The vocabulary is doing a lot of work show suggestions that will never be accepted.
Related branches
- William Grant: Approve (code) on 2016-07-26
-
Diff: 781 lines (+216/-173)12 files modifiedlib/lp/app/javascript/picker/picker_patcher.js (+4/-2)
lib/lp/app/javascript/picker/tests/test_picker_patcher.js (+35/-2)
lib/lp/app/widgets/popup.py (+14/-1)
lib/lp/app/widgets/templates/distributionsourcepackage-picker.pt (+29/-0)
lib/lp/app/widgets/templates/form-picker-macros.pt (+1/-1)
lib/lp/app/widgets/tests/test_launchpadtarget.py (+2/-12)
lib/lp/app/widgets/tests/test_popup.py (+33/-7)
lib/lp/bugs/browser/tests/test_bugalsoaffects.py (+1/-18)
lib/lp/bugs/browser/widgets/bugtask.py (+11/-2)
lib/lp/registry/tests/test_distributionsourcepackage_vocabulary.py (+45/-92)
lib/lp/registry/vocabularies.py (+29/-35)
lib/lp/services/webapp/configure.zcml (+12/-1)
- William Grant: Approve (code) on 2016-07-26
-
Diff: 173 lines (+70/-16)3 files modifiedlib/lp/bugs/browser/bugtask.py (+27/-4)
lib/lp/bugs/browser/tests/test_bugtask.py (+42/-11)
lib/lp/bugs/browser/widgets/bugtask.py (+1/-1)
- William Grant: Approve (code) on 2016-09-19
-
Diff: 750 lines (+363/-75)9 files modifieddatabase/sampledata/current-dev.sql (+1/-1)
database/sampledata/current.sql (+1/-1)
lib/lp/bugs/browser/bugtarget.py (+48/-20)
lib/lp/bugs/browser/tests/test_bugtarget_filebug.py (+22/-2)
lib/lp/bugs/browser/widgets/bugtask.py (+46/-5)
lib/lp/bugs/doc/bugtask-package-widget.txt (+128/-23)
lib/lp/bugs/tests/test_doc.py (+26/-1)
lib/lp/registry/tests/test_distributionsourcepackage_vocabulary.py (+52/-3)
lib/lp/registry/vocabularies.py (+39/-19)
- William Grant: Approve (code) on 2016-09-09
-
Diff: 113 lines (+35/-4)2 files modifiedlib/lp/code/browser/widgets/gitrepositorytarget.py (+12/-2)
lib/lp/code/browser/widgets/tests/test_gitrepositorytargetwidget.py (+23/-2)
- William Grant: Approve (code) on 2016-09-19
-
Diff: 526 lines (+164/-86)7 files modifiedlib/lp/app/widgets/popup.py (+85/-1)
lib/lp/bugs/browser/bugtracker.py (+2/-2)
lib/lp/bugs/browser/widgets/bugtask.py (+11/-74)
lib/lp/registry/browser/productseries.py (+33/-4)
lib/lp/registry/browser/tests/test_packaging.py (+20/-3)
lib/lp/registry/tests/test_distributionsourcepackage_vocabulary.py (+11/-0)
lib/lp/registry/vocabularies.py (+2/-2)
- William Grant: Approve (code) on 2016-09-19
-
Diff: 583 lines (+347/-28)8 files modifiedlib/lp/app/widgets/popup.py (+8/-0)
lib/lp/app/widgets/templates/distributionsourcepackage-picker.pt (+5/-0)
lib/lp/bugs/browser/widgets/bugtask.py (+1/-2)
lib/lp/bugs/doc/bugtask-package-widget.txt (+18/-21)
lib/lp/translations/browser/potemplate.py (+51/-2)
lib/lp/translations/browser/tests/test_potemplate_views.py (+68/-3)
lib/lp/translations/browser/widgets/potemplate.py (+62/-0)
lib/lp/translations/browser/widgets/tests/test_potemplate.py (+134/-0)
- William Grant: Approve (code) on 2016-09-19
-
Diff: 315 lines (+192/-5)4 files modifiedlib/lp/translations/browser/tests/test_translationimportqueueentry.py (+46/-2)
lib/lp/translations/browser/translationimportqueue.py (+34/-3)
lib/lp/translations/browser/widgets/tests/test_translationimportqueue.py (+78/-0)
lib/lp/translations/browser/widgets/translationimportqueue.py (+34/-0)
| Luis Villa (luis-villa) wrote : | #1 |
| Changed in malone: | |
| status: | New → Triaged |
Looks like a dupe of bug 202769.
| description: | updated |
| summary: |
- Popup package search lists unpublished packages + package picker lists unpublished (invalid) packages |
| tags: | added: package-picker vocabulary |
| Changed in launchpad: | |
| importance: | Medium → High |
| tags: | added: disclosure |
| Launchpad QA Bot (lpqabot) wrote : | #3 |
r13298 in stable (http://
| Changed in launchpad: | |
| assignee: | nobody → Steve Kowalik (stevenk) |
| tags: | added: qa-needstesting |
| Changed in launchpad: | |
| status: | Triaged → In Progress |
| tags: |
added: qa-untestable removed: qa-needstesting |
| tags: |
added: target-picker removed: package-picker |
| Changed in launchpad: | |
| status: | In Progress → Fix Released |
| Changed in launchpad: | |
| assignee: | Steve Kowalik (stevenk) → nobody |
| status: | Fix Released → In Progress |
| tags: | removed: qa-untestable |
| tags: | removed: disclosure |
| Changed in launchpad: | |
| status: | In Progress → Triaged |
| Changed in launchpad: | |
| assignee: | nobody → Curtis Hovey (sinzui) |
| Changed in launchpad: | |
| status: | Triaged → In Progress |
| Changed in launchpad: | |
| status: | In Progress → Triaged |
| Changed in launchpad: | |
| assignee: | Curtis Hovey (sinzui) → nobody |
Eight years later this bug still exists :(
I found it (once again) whilst trying to report a bug against "nvidia-
There is more than just the Package Chooser bug though; I had first added an also-affects "nvidia-
| Changed in launchpad: | |
| status: | Triaged → In Progress |
| assignee: | nobody → Colin Watson (cjwatson) |
| Launchpad QA Bot (lpqabot) wrote : | #5 |
Fixed in stable r18125 <http://
| tags: | added: qa-needstesting |
| Changed in launchpad: | |
| status: | In Progress → Fix Committed |
| Colin Watson (cjwatson) wrote : | #6 |
My changes aren't quite working yet: the picker doesn't pick up the current value of the distribution drop-down, and Distribution:
| tags: |
added: qa-ok removed: qa-needstesting |
| Changed in launchpad: | |
| status: | Fix Committed → In Progress |
| Launchpad QA Bot (lpqabot) wrote : | #8 |
r18164 in stable (http://
| tags: |
added: qa-needstesting removed: qa-ok |
| Launchpad QA Bot (lpqabot) wrote : | #9 |
r18166 in stable (http://
| tags: |
added: qa-ok removed: qa-needstesting |
| Launchpad QA Bot (lpqabot) wrote : | #10 |
r18185 in stable (http://
| tags: |
added: qa-needstesting removed: qa-ok |
| tags: |
added: qa-ok removed: qa-needstesting |
| Launchpad QA Bot (lpqabot) wrote : | #11 |
r18194 in stable (http://
| tags: |
added: qa-needstesting removed: qa-ok |
| Launchpad QA Bot (lpqabot) wrote : | #12 |
r18195 in stable (http://
| Launchpad QA Bot (lpqabot) wrote : | #13 |
r18199 in stable (http://
| Changed in launchpad: | |
| status: | In Progress → Fix Committed |
| Launchpad QA Bot (lpqabot) wrote : | #14 |
Fixed in stable r18200 <http://
| tags: |
added: qa-ok removed: qa-needstesting |
| Colin Watson (cjwatson) wrote : | #15 |
Now enabled for all users:
| Changed in launchpad: | |
| status: | Fix Committed → Fix Released |
| Launchpad Janitor (janitor) wrote : | #16 |
Status changed to 'Confirmed' because the bug affects multiple users.
| Changed in ubuntu: | |
| status: | New → Confirmed |
| no longer affects: | ubuntu |

And I note when trying to fix the problem that you already have the ability to do this filtering, so fixing this should be less difficult than I first assumed (though potentially still difficult.)