'choose a source package' suggests undefined when search has too many results
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Henning Eggers |
Bug Description
1. Visit a bug page that has a ubuntu bug task open
2. Click the icon to edit the ubuntu bug task
3. Press 'choose' next to the package name
4. Type in 'kernel' or 'linux' in the search that pops up
5. Get "too many results" message and see only 'undefined' in the list.
I don't expect to see 'undefined',
The ajax request went to https:/
The response was:
{"total_size": 200, "entries": [{"api_uri": "Could not find canonical url.", "css": "sprite bullet",
"description": "Source of: affix-common, affix-headers, affix-source", "value": "affix-kernel", "title"
: "affix-kernel"}, {"api_uri": "Could not find canonical url.", "css": "sprite bullet", "description"
: "Source of: apw-ppa-
}, {"api_uri": "Could not find canonical url.", "css": "sprite bullet", "description": "Source of: batman-adv-source"
, "value": "batman-
url.", "css": "sprite bullet", "description": "Source of: cpad-common, cpad-kernel-dev, cpad-kernel
...", "value": "cpad-kernel", "title": "cpad-kernel"}, {"api_uri": "Could not find canonical url.", "css"
: "sprite bullet", "description": "Source of: dnjl-ppa-kernel", "value": "dnjl-ppa-kernel", "title":
"dnjl-
: "Source of: dphys-kernel-
}]}
Using edge - Launchpad 2.2.6 (r9041)
Related branches
- Graham Binns (community): Approve (code)
-
Diff: 251 lines (+97/-26)2 files modifiedlib/lp/app/javascript/picker.js (+22/-14)
lib/lp/app/javascript/tests/test_picker.js (+75/-12)
- Curtis Hovey (community): Approve (code)
-
Diff: 472 lines (+155/-94)9 files modifiedlib/canonical/launchpad/webapp/configure.zcml (+2/-2)
lib/lp/app/javascript/picker.js (+21/-44)
lib/lp/app/javascript/tests/test_personpicker.html (+1/-1)
lib/lp/app/javascript/tests/test_personpicker.js (+4/-4)
lib/lp/app/javascript/tests/test_picker.html (+1/-0)
lib/lp/app/javascript/tests/test_picker.js (+36/-9)
lib/lp/app/javascript/widgets.js (+75/-32)
lib/lp/app/widgets/popup.py (+13/-1)
lib/lp/app/widgets/templates/form-picker-macros.pt (+2/-1)
Changed in malone: | |
status: | New → Confirmed |
affects: | malone → lazr-js |
Changed in lazr-js: | |
importance: | Undecided → Low |
status: | Confirmed → Triaged |
Changed in lazr-js: | |
importance: | Low → High |
tags: | removed: qa-ok |
tags: | added: package-picker vocabulary |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
The fix for bug 778129 will also fix this.