Bug 1043390

Summary: user typeaheads do not work on user page
Product: [Retired] Beaker Reporter: wangjing <jingwang>
Component: web UIAssignee: Dan Callaghan <dcallagh>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.15CC: aigao, asaha, dcallagh, llim, qwan, rmancy
Target Milestone: 0.15.3   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-03 04:51:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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