Bug 822795

Summary: Search filter not working in bundle deployment wizard
Product: [JBoss] JBoss Operations Network Reporter: Sunil Kondkar <skondkar>
Component: UIAssignee: Jirka Kremser <jkremser>
Status: CLOSED CURRENTRELEASE QA Contact: Mike Foley <mfoley>
Severity: medium Docs Contact:
Priority: medium    
Version: JON 3.1.0CC: fbrychta, jkremser, jsanda
Target Milestone: ---   
Target Release: JON 3.1.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 847007 (view as bug list) Environment:
Last Closed: 2013-09-11 11:00:55 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:
Bug Depends On:    
Bug Blocks: 847007    
Attachments:
Description Flags
Screenshot none

Description Sunil Kondkar 2012-05-18 07:52:24 UTC
Description of problem:

Created bundles with names like 'test', 'test1', 'test2', 'test3', 'newtest1' and 'example'. When I enter text 'test' in search filter box in bundle deployment wizard, the bundle names are not filtered. It should filter and display the bundles 'test', 'test1', 'test2', 'test3' and 'newtest1' in 'Available Bundles' table in bundle deployment wizard.

Please refer the attached screenshot.

Version-Release number of selected component (if applicable):

Version: 3.1.0.BETA1
Build Number: 95ef567:68f5518
Browsers: Firefox 10.0.2 , Firefox 3.6.24

How reproducible:

Always

Steps to Reproduce:

1. Navigate to bundles menu.
2. Upload some bundles (Ex: bundles with names - 'test', 'test1', 'test2', 'test3', 'newtest1' and 'example')
3. click on 'Deploy' button.
4. Enter text 'test' in search filter box in bundle deployment wizard.
  
Actual results:

Search filter not working in bundle deployment wizard.

Expected results:
Search filter should work.

Additional info:

Comment 1 Sunil Kondkar 2012-05-18 07:53:47 UTC
Created attachment 585357 [details]
Screenshot

Comment 2 Mike Foley 2012-05-21 15:52:03 UTC
per BZ triage 5/21/2012 (asantos, loleary, ccrouch, mfoley)

Comment 3 Charles Crouch 2012-08-02 23:28:56 UTC
This should just be a standard component we're using here. We should investigate this and determine if its just broken here or its also broken elsewhere e.g. in the role assignment page for a user, or the resource assignment page for a group.

Comment 4 Jirka Kremser 2012-08-09 11:06:51 UTC
It is not a general problem with the component. ResourceSelector and ResourceGroupSelector work as expected. The problem is that Resource{Group}Selectors allow for using our DSL query language (criteria.setSearchExpression) and bundles don't. 
I'll consider the search string for bundles as a common name of bundle and it should work.

Comment 5 Jirka Kremser 2012-08-09 12:33:45 UTC
http://git.fedorahosted.org/cgit/rhq/rhq.git/diff/?id=0855639

master
time:    Thu Aug 9 13:12:03 2012 +0200
commit:  0855639970da484fa6ee9782edabb47184aca138
author:  Jirka Kremser - jkremser
message: [BZ 822795 - Search filter not working in bundle deployment wizard] Added filtering by the name of the bundle. (cherry picked from commit 21e61a1588663c97975580003c00dfd8cbc20798)

Comment 6 Jirka Kremser 2012-08-09 12:41:58 UTC
^
s/master/jon3.1.x/g

Comment 7 John Sanda 2012-08-14 02:16:53 UTC
Moving to ON_QA since JON 3.1.1 ER2 build is availble - https://brewweb.devel.redhat.com/buildinfo?buildID=228250

Comment 8 Filip Brychta 2012-08-21 10:16:31 UTC
Verified on JON 3.1.1 ER2