Bug 1222650

Summary: autocomplete does not work in editing role filters
Product: Red Hat Satellite Reporter: sthirugn <sthirugn>
Component: WebUIAssignee: Walden Raines <walden>
WebUI sub component: Foreman QA Contact: sthirugn <sthirugn>
Status: CLOSED CURRENTRELEASE Docs Contact:
Severity: high    
Priority: unspecified CC: bkearney, mmccune, walden
Version: 6.1.0Keywords: Regression
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/10542
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-12 14:00:40 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:

Description sthirugn@redhat.com 2015-05-18 18:17:07 UTC
Description of problem:
autocomplete does not work in editing permissions

Version-Release number of selected component (if applicable):
Sat 6.1 GA Snap 4

How reproducible:
Always

Steps to Reproduce:
1. Create a role
2. Create a filter for the role by
   - Navigate to UI -> Administer -> Roles -> Click on 'Filter' for the newly created role
   - Click New filter
   - Resource type - Products and Repositories
   - Permission - view_products
   - Uncheck Unlimited?
   - Click on Search field - see autocomplete dropdown suggestions shown. Select 'name' and select a product like 'name = product1"
   - Click Submit to create the filter 
3. Now edit the newly created filter in Step 2
4. Clear Search box value 'name = product1' and attempt to enter a new value.

Actual results:
Notice that the search box autocomplete dropdown does not work in edit filter

Expected results:
search box autocomplete dropdown should work in edit filter

Additional info:

Comment 1 RHEL Program Management 2015-05-18 18:22:22 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 4 Walden Raines 2015-05-18 21:04:12 UTC
Created redmine issue http://projects.theforeman.org/issues/10542 from this bug

Comment 5 Walden Raines 2015-05-19 13:19:41 UTC
PR: https://github.com/theforeman/foreman/pull/2394

Comment 6 Bryan Kearney 2015-05-22 16:05:19 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/10542 has been closed
-------------
Walden Raines
Applied in changeset commit:f536685b9aa0ce7829302c68e406f03f501f78df.

Comment 9 sthirugn@redhat.com 2015-05-28 14:48:54 UTC
Verified.  The failed scenario mentioned in the bug description is working fine now.

Version Tested: Sat 6.1 GA Snap 6

Comment 10 Bryan Kearney 2015-08-11 13:35:21 UTC
This bug is slated to be released with Satellite 6.1.

Comment 11 Bryan Kearney 2015-08-12 14:00:40 UTC
This bug was fixed in version 6.1.1 of Satellite which was released on 12 August, 2015.