Bug 1777493 - CFME Configuration Managers (Ansible, Satellite) advanced search button missing when clicked from accordion
Summary: CFME Configuration Managers (Ansible, Satellite) advanced search button missi...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.11.1
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: GA
: 5.12.0
Assignee: Hilda Stastna
QA Contact: Jaroslav Henner
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On:
Blocks: 1805804
TreeView+ depends on / blocked
 
Reported: 2019-11-27 16:16 UTC by Pavel Šimovec
Modified: 2020-10-26 16:26 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1805804 (view as bug list)
Environment:
Last Closed: 2020-10-26 16:26:01 UTC
Category: Bug
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:
psimovec: needinfo+
dmetzger: mirror+


Attachments (Terms of Use)
Error after clicking on another item in Config Mgmt Providers accordion (5.34 KB, text/plain)
2019-11-29 12:34 UTC, Hilda Stastna
no flags Details

Description Pavel Šimovec 2019-11-27 16:16:02 UTC
Description of problem:
Advanced search button on Satellite/Ansible pages are not visible when reached from the left panel.

Version-Release number of selected component (if applicable):
5.11.1.1.20191122174937_707df01
5.10.13.1.20191125212409_31d9a94 
How reproducible:


Steps to Reproduce:
1. Navigate to "Automation > Ansible Tower > Explorer" OR "Configuration > Management"
2. See that the "advanced search" button is not available,
3. Click another item in the accordion and then navigate back to the same accordion

Actual results:
1.
2. Advanced search button is not available
3. Advanced search button is available

Expected results:
Advanced search button is available in both cases

Comment 4 Hilda Stastna 2019-11-29 12:31:56 UTC
Just a note that after clicking on another item in the accordion (first part of step 3),
error occurs and Search field disappears! I'm adding error message as an attachment.

Comment 5 Hilda Stastna 2019-11-29 12:34:56 UTC
Created attachment 1640649 [details]
Error after clicking on another item in Config Mgmt Providers accordion

Comment 8 Dave Johnson 2019-12-18 15:01:55 UTC
Please assess the impact of this issue and update the severity accordingly.  Please refer to https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity for a reminder on each severity's definition.

If it's something like a tracker bug where it doesn't matter, please set the severity to Low.

Comment 9 Pavel Šimovec 2019-12-19 09:28:31 UTC
I set severity to low because, according to previous comments, the advanced search button is not supposed to be there -> bug has no impact on customers' functionality.

Comment 10 CFME Bot 2020-01-24 01:07:50 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/8b6062793f2a6c4f0a6e4e2f3a1aa36e0310e745
commit 8b6062793f2a6c4f0a6e4e2f3a1aa36e0310e745
Author:     Hilda Stastna <hstastna>
AuthorDate: Fri Nov 29 07:37:55 2019 -0500
Commit:     Hilda Stastna <hstastna>
CommitDate: Fri Nov 29 07:37:55 2019 -0500

    Prevent calling replace_search_box twice in ManagerControllerMixin

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1777493

    Prevent unnecessary call and fix appearing Adv Search in Config Mgmt
    Providers accordion which is not supported there. Add replace_search_box
    method to the two controllers to update_partials method where it is
    missing.

 app/controllers/infra_networking_controller.rb | 1 +
 app/controllers/mixins/manager_controller_mixin.rb | 3 +-
 spec/controllers/infra_networking_controller_spec.rb | 11 +
 spec/controllers/mixins/manager_controller_mixin_spec.rb | 18 +
 4 files changed, 31 insertions(+), 2 deletions(-)


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