Comment 1 for bug 541979

Revision history for this message
Curtis Hovey (sinzui) wrote :

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 DistributionOrProductOrProject vocab should returrn exact name/displayname and state more that too many matches were found.

The "/people/" is hardcoded in VocabularyPickerWidget.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.