Bug 1656066

Summary: Excluded Tables tab for Remote appliance doesn't display correctly
Product: Red Hat CloudForms Management Engine Reporter: Tasos Papaioannou <tpapaioa>
Component: UI - OPSAssignee: Martin Hradil <mhradil>
Status: CLOSED CURRENTRELEASE QA Contact: Tasos Papaioannou <tpapaioa>
Severity: medium Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: medium    
Version: 5.10.0CC: bmidwood, dmetzger, hkataria, lavenel, mpovolny, mshriver, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.11.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: 5.11.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1702486 (view as bug list) Environment:
Last Closed: 2019-12-13 15:16:22 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1702486    

Description Tasos Papaioannou 2018-12-04 15:23:40 UTC
Description of problem:

After an appliance is configured for remote replication, clicking on Region > Replication shows a blank Excluded Tables text area. If you then click on the text area, then the list of excluded tables appears.

Version-Release number of selected component (if applicable):

Seen on 5.8, 5.9, 5.10.

How reproducible:

100%

Steps to Reproduce:
1.) Click on Administrator > Configuration > CFME Region > Replication.
2.) Set the type to Remote and click Save.
3.) Click on a different tab, then click on Replication again.

Actual results:

Excluded Tables on the Replication tab is blank, until you click on the blank text area.

Expected results:

Excluded Tables displays the list of excluded tables as soon as you click on the Replication tab.

Additional info:

Comment 3 CFME Bot 2018-12-18 15:27:26 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/e1bdeac135504f4e69b61dc98351161dece2674e
commit e1bdeac135504f4e69b61dc98351161dece2674e
Author:     Martin Hradil <mhradil>
AuthorDate: Mon Dec 17 08:44:51 2018 -0500
Commit:     Martin Hradil <mhradil>
CommitDate: Mon Dec 17 08:44:51 2018 -0500

    Region Replication - refresh code mirror after load

    when replication type is already set to Remote,
    the code mirror component renders too soon and thus renders without data

    adding an explicit ui-refresh, to trigger a refresh once the data is loaded

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

 app/assets/javascripts/controllers/ops/pglogical_replication_form_controller.js | 6 +-
 app/views/ops/_settings_replication_tab.html.haml | 1 +
 2 files changed, 6 insertions(+), 1 deletion(-)

Comment 5 Tasos Papaioannou 2019-04-30 17:01:51 UTC
Verified on 5.11.0.1.