Bug 1043390 - user typeaheads do not work on user page
Summary: user typeaheads do not work on user page
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: web UI
Version: 0.15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 0.15.3
Assignee: Dan Callaghan
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-16 07:57 UTC by wangjing
Modified: 2018-02-06 00:41 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-03 04:51:45 UTC
Embargoed:


Attachments (Terms of Use)

Comment 2 Nick Coghlan 2013-12-16 08:10:31 UTC
The typeahead feature in the search box on the Accounts page appears to have the same problem as the access policy editor did in bug 1017496.

The search itself still works, but this should be a straightforward fix, similar to that used for bug 1017496.

Comment 3 Nick Coghlan 2013-12-16 08:13:14 UTC
Also, as in the bug 1017496, this problem only appears when the Beaker web UI is mounted somewhere other than at the root of the web server (e.g. at the default "/bkr").

Comment 4 Dan Callaghan 2013-12-17 04:46:59 UTC
The user search field on /users is not a new typeahead, it's an old TG autocomplete widget, so not related to the problem in 1017496 (the patch for that bug fixed all typeahead URLs centrally).

This is actually just another case of double application of the TG url() function. The problem exists on all admin pages and has been there since the search field was added in commit d9346bff in Beaker 0.5.40 (2010).

Comment 5 Dan Callaghan 2013-12-17 05:06:57 UTC
http://gerrit.beaker-project.org/2620

Comment 7 wangjing 2013-12-20 07:00:49 UTC
verified on my testing vm(beaker-0.15.3-0.git.5.46f86da)-->pass

steps:
1. check all the search box under 'Admin' menu.
2. type ahead in the search box.
3. check the dropdown list.

Actual results:
same as expected results.

Expected results:
display drop-down list containing the input value, and no error in logs.

Comment 8 Nick Coghlan 2014-02-03 04:51:45 UTC
This change is included in the Beaker 0.15.3 maintenance release:

http://beaker-project.org/docs/whats-new/release-0.15.html#beaker-0-15-3


Note You need to log in before you can comment on or make changes to this bug.