Bug 1581570

Summary: The search bar is searched with filtering when not needed
Product: Red Hat Enterprise Virtualization Manager Reporter: Beni Pelled <bpelled>
Component: ovirt-engineAssignee: Nobody <nobody>
Status: CLOSED DUPLICATE QA Contact: meital avital <mavital>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.2.3CC: lsurette, michal.skrivanek, mperina, rbalakri, Rhev-m-bugs, srevivo, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-05-26 08:28:10 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
search with results
none
search without results none

Description Beni Pelled 2018-05-23 06:22:22 UTC
Description of problem:
If I have a VM whose name is ipa-bpelled (or any other name whose starts with one of the filtering options ip, fqdn, cluster, host, etc.), the search bar will not find the VM because it will try to do a search filtered by ip (ie ip=a-bpelled),
If I remove the i at the beginning and look for 'pa-bpelled' the search bar will find the VM.

Version-Release number of selected component (if applicable):
4.2.3.5-0.1.el7

How reproducible:
100%

Steps to Reproduce:
1. Create a VM whose name is ipa-bpelled/storage-ge-01/host-1 etc.
2. Try searching in search bar 'ipa-bpelled' - No results.
3. Try searching in search bar 'pa-bpelled' - There are results.

Actual results:
VM not found.

Expected results:
Find VM.

Additional info:
I didn't check it on 4.1.

Comment 1 Beni Pelled 2018-05-23 06:22:53 UTC
Created attachment 1440434 [details]
search with results

Comment 2 Beni Pelled 2018-05-23 06:23:14 UTC
Created attachment 1440435 [details]
search without results

Comment 3 Michal Skrivanek 2018-05-24 05:15:28 UTC
This is webadmin, not VM Portal, reassigning

Comment 4 Martin Perina 2018-05-26 08:28:10 UTC
You need to use 'name' option before actual VM name:

  Vms: name=ipa-bpelled

This needs to be done on all object names starting with predefined keywords, more information can be found at https://bugzilla.redhat.com/show_bug.cgi?id=1431882#c8

*** This bug has been marked as a duplicate of bug 1431882 ***

Comment 5 Franta Kust 2019-05-16 13:08:52 UTC
BZ<2>Jira Resync