Bug 1581570 - The search bar is searched with filtering when not needed
Summary: The search bar is searched with filtering when not needed
Keywords:
Status: CLOSED DUPLICATE of bug 1431882
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 4.2.3
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact: meital avital
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-05-23 06:22 UTC by Beni Pelled
Modified: 2019-05-16 13:19 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-05-26 08:28:10 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
search with results (12.08 KB, image/png)
2018-05-23 06:22 UTC, Beni Pelled
no flags Details
search without results (11.09 KB, image/png)
2018-05-23 06:23 UTC, Beni Pelled
no flags Details

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


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