search project "ubuntu" returns nothing
Bug #541979 reported by
SoloTurn
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Critical
|
Steve Kowalik |
Bug Description
going to https:/
Related branches
lp:~stevenk/launchpad/pillarname-vocab
- Curtis Hovey (community): Approve (code)
-
Diff: 114 lines (+35/-19)3 files modifiedlib/lp/registry/doc/vocabularies.txt (+1/-1)
lib/lp/registry/tests/test_pillar_vocabularies.py (+3/-3)
lib/lp/registry/vocabularies.py (+31/-15)
affects: | launchpad → launchpad-answers |
tags: | added: regression |
Changed in launchpad: | |
importance: | High → Critical |
description: | updated |
Changed in launchpad: | |
assignee: | nobody → Steve Kowalik (stevenk) |
status: | Triaged → In Progress |
tags: |
added: target-picker removed: project-picker |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
The picker fails because the request is on the wrong domain (answers or bugs). The picker works when the url is written as http:// launchpad. net/answers. I think this problem is happening because the page is mapped to the root object, which is the mainsite by default. I am not sure where the fix should be: popup.py or may be vocabulary- picker. js.template.
Note that Ubuntu will always return no matches because there are too many. This is bad since the term is the only one that can be used. Maybe the DistributionOrP roductOrProject vocab should returrn exact name/displayname and state more that too many matches were found.
The "/people/" is hardcoded in VocabularyPicke rWidget. popup. I think it should be set to "/" We could subclass, but in this example the user is looking for a distro or a project, whch does not have a url.