Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1506549

Summary: content hosts search input do not allow to enter new search string
Product: Red Hat Satellite Reporter: Djebran Lezzoum <dlezzoum>
Component: Hosts - ContentAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED DUPLICATE QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.3.0CC: bbuckingham, dlezzoum
Target Milestone: UnspecifiedKeywords: Regression
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-10-27 06:42:52 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 Djebran Lezzoum 2017-10-26 10:09:51 UTC
Created attachment 1343659 [details]
foreman debug output

Description of problem:
content hosts search input do not allow to search by new search string

Version-Release number of selected component (if applicable):
* candlepin-2.1.7-1.el7.noarch
* candlepin-selinux-2.1.7-1.el7.noarch
* foreman-1.15.6.1-1.el7sat.noarch
* foreman-bootloaders-redhat-201707171807-1.el7sat.noarch
* foreman-bootloaders-redhat-tftpboot-201707171807-1.el7sat.noarch
* foreman-cli-1.15.6.1-1.el7sat.noarch
* foreman-compute-1.15.6.1-1.el7sat.noarch
* foreman-debug-1.15.6.1-1.el7sat.noarch
* foreman-discovery-image-3.1.1-22.el7sat.noarch
* foreman-ec2-1.15.6.1-1.el7sat.noarch
* foreman-gce-1.15.6.1-1.el7sat.noarch
* foreman-installer-1.15.6.1-1.el7sat.noarch
* foreman-installer-katello-3.4.5.8-1.el7sat.noarch
* foreman-libvirt-1.15.6.1-1.el7sat.noarch
* foreman-openstack-1.15.6.1-1.el7sat.noarch
* foreman-ovirt-1.15.6.1-1.el7sat.noarch
* foreman-postgresql-1.15.6.1-1.el7sat.noarch
* foreman-proxy-1.15.4-1.el7sat.noarch
* foreman-proxy-content-3.4.5-5.el7sat.noarch
* foreman-rackspace-1.15.6.1-1.el7sat.noarch
* foreman-selinux-1.15.5-1.el7sat.noarch
* foreman-vmware-1.15.6.1-1.el7sat.noarch
* katello-3.4.5-5.el7sat.noarch
* katello-ca-consumer-sat-r220-02.lab.eng.rdu2.redhat.com-1.0-4.noarch
* katello-certs-tools-2.4.0-1.el7sat.noarch
* katello-client-bootstrap-1.4.2-1.el7sat.noarch
* katello-common-3.4.5-5.el7sat.noarch
* katello-debug-3.4.5-5.el7sat.noarch
* katello-default-ca-1.0-1.noarch
* katello-installer-base-3.4.5.8-1.el7sat.noarch
* katello-selinux-3.0.2-1.el7sat.noarch
* katello-server-ca-1.0-1.noarch
* katello-service-3.4.5-5.el7sat.noarch
* openldap-2.4.44-5.el7.x86_64
* pulp-client-1.0-1.noarch
* pulp-docker-plugins-2.4.1-2.el7sat.noarch
* pulp-katello-1.0.2-1.el7sat.noarch
* pulp-ostree-plugins-1.2.1.1-1.el7sat.noarch
* pulp-puppet-plugins-2.13.4-2.el7sat.noarch
* pulp-puppet-tools-2.13.4-2.el7sat.noarch
* pulp-rpm-plugins-2.13.4.2-2.el7sat.noarch
* pulp-selinux-2.13.4.2-1.el7sat.noarch
* pulp-server-2.13.4.2-1.el7sat.noarch
* python-ldap-2.4.15-2.el7.x86_64
* tfm-rubygem-ldap_fluff-0.4.7-1.el7sat.noarch
* tfm-rubygem-net-ldap-0.15.0-1.el7sat.noarch

How reproducible:
Always

Steps to Reproduce:
1. Goto Hosts > Content Hosts
2. in the search input field enter for example "hypervisor = true"
3. press enter or click search button
4. search again by typing in search input field "hypervisor = false"
5. press enter or click search button

Actual results:
the search input field redo back to value "hypervisor = true" and the search is performed for "hypervisor = true"


Expected results:
the search input field should conserve the new search text "hypervisor = false"
and the search is performed using the new entered text eg: "hypervisor = false"  

Additional info:
if we enter "hypervisor = true" and press enter and navigate to Hosts > Content Hosts the search box persist showing "hypervisor = true", and also we cannot search by an other value.
clearing the search input (ether by manually clearing the box and press enter or clicking on clear button) does help and the old value return back.


work around over this behavior is to navigate to an other page for example dashboard and back to Content Hosts (this will allow to enter a new value)

Comment 5 Brad Buckingham 2017-10-27 01:26:39 UTC
Hi Djebran,

Can you take a quick look at bug 1495271?  I believe this is a duplicate of this one.  If so, we can close this one and track via bug 1495271.  Thanks!

Comment 6 Djebran Lezzoum 2017-10-27 06:42:52 UTC
Hi Brad,

Yes this is the same behavior, closing this one as duplicate.

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