Bug 1482150 - Content host search hides 'no-search-results` block
Summary: Content host search hides 'no-search-results` block
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hosts - Content
Version: 6.3.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-08-16 14:55 UTC by Stanislav Tkachenko
Modified: 2019-04-01 20:27 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-21 16:54:17 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Screenshot with hidden message for Content Hosts (203.19 KB, image/png)
2017-08-16 14:55 UTC, Stanislav Tkachenko
no flags Details
Content Hosts search showing message (238.81 KB, image/png)
2017-09-14 15:59 UTC, Dan Seethaler
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 20696 0 None None None 2017-08-22 14:10:15 UTC

Description Stanislav Tkachenko 2017-08-16 14:55:40 UTC
Created attachment 1314228 [details]
Screenshot with hidden message for Content Hosts

Description of problem:
When searching for katello entities, e.g Activation Keys, and no results found, UI shows empty table and message "Your search returned zero Activation Keys."

However, for content hosts entire table, including message, is hidden.


Version-Release number of selected component (if applicable):
Satellite 6.3 Snap 11:
* satellite-6.3.0-16.0.beta.el7sat.noarch
* katello-3.4.4-2.el7sat.noarch
* foreman-1.15.3-1.el7sat.noarch


How reproducible:
Always

Steps to Reproduce:
1. navigate to Content Hosts
2. Search using some invalid search criteria, e.g. `name=noname`
3. Check whether message 'Your search returned zero Content Hosts.` is displayed.

Actual results:
Message is hidden.

Expected results:
Message should be displayed.

Additional info:

Comment 1 Daniel Lobato Garcia 2017-08-22 14:10:13 UTC
Created redmine issue http://projects.theforeman.org/issues/20696 from this bug

Comment 3 Dan Seethaler 2017-09-14 15:55:45 UTC
I'm not able to reproduce this bug upstream or in the sat63-qa-rhel7 box. I believe it's probably been fixed in the katello 3.4.5 release. I'll attached a screenshot to show the table and message being displayed for Content Hosts when no hosts match the search.

Comment 4 Dan Seethaler 2017-09-14 15:59:35 UTC
Created attachment 1326127 [details]
Content Hosts search showing message

Comment 5 Brad Buckingham 2017-09-14 16:52:36 UTC
Hi Stanislav, can you do a quick retest of this issue on the latest 6.3 snap and let us know if you still see it?  If the issue persists, we may need to get some additional details to see if there is anything different in our environments or procedures.  Thanks!

Comment 6 Stanislav Tkachenko 2017-09-18 15:35:20 UTC
(In reply to Brad Buckingham from comment #5)
Hi Brad,

I can see proper message on latest 6.3 build, so looks like it is fixed.

Comment 7 Satellite Program 2017-09-18 16:00:40 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/20696 has been resolved.

Comment 8 Brad Buckingham 2017-09-18 17:55:24 UTC
Thanks Stanislav!  Based upon the feedback, I am going to move this to VERIFIED. Please feel free to update it, if something changes.

Comment 9 Satellite Program 2018-02-21 16:54:17 UTC
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA.
> 
> For information on the advisory, and where to find the updated files, follow the link below.
> 
> If the solution does not work for you, open a new bug report.
> 
> https://access.redhat.com/errata/RHSA-2018:0336


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