Bug 1948427 - No action is triggered after click 'Continue' button on 'Show community Operator' windows
Summary: No action is triggered after click 'Continue' button on 'Show community Opera...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console
Version: 4.8
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: 4.8.0
Assignee: Jon Jackson
QA Contact: Xiyun Zhao
URL:
Whiteboard:
: 1948566 1950193 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-04-12 07:16 UTC by Xiyun Zhao
Modified: 2021-07-27 22:59 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: Community Operator modal "Continue" handler was opening the details sidebar modal, then calling the 'close' callback. Consequence: Both the community operator modal and the details side bar modal were being unmounted from the DOM right after the user clicked continue. This caused React state in the main app to be out of sync. This new behavior was likely caused by React 17 updates that changed the way parallel instances of React work. Fix: Call the close callback first, then open the details sidebar so that it doesn't get immediately unmounted. Result: Community operator modal works as expected and details side bar is displayed after clicking continue.
Clone Of:
Environment:
Last Closed: 2021-07-27 22:58:59 UTC
Target Upstream Version:
Embargoed:
xiyuzhao: needinfo-


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 8679 0 None open Bug 1948427: Bug 1948566: Fix issue where react-modal was removing Operator modal from the DOM 2021-04-15 20:00:47 UTC
Red Hat Product Errata RHSA-2021:2438 0 None None None 2021-07-27 22:59:18 UTC

Description Xiyun Zhao 2021-04-12 07:16:45 UTC
Description of problem:
No action is triggered after click 'Continue' button on 'Show community Operator' windows, user is not able to install operator normally 

Version-Release number of selected component (if applicable):
4.8.0-0.nightly-2021-04-09-222447

How reproducible:
Every time

Steps to Reproduce:
1. Log into the web UI as admin, navigate to Operator -> OperatorHub page
2. Choose and use '3scale API Management' as a example, click on the name of the operator
3. On the pops up page which called "Show community Operator", click on the 'continue' button

Actual results:
No action being triggered after click 'Continue' button. User is not able to install the operator further.

Expected results:
1. The operator detail panel should shown on the right of the page after click 'Continue' button.

Additional info:
All operator will be impacted if 'Show community Operator' page pops up.

Comment 1 Yadan Pei 2021-04-12 07:54:46 UTC
Yes, no operator modal can be opened via clicking from web console when `Show community Operator` modal is opened and closed

Comment 3 Samuel Padgett 2021-04-13 13:00:24 UTC
It's possible bug 1948566 is a duplicate of this issue although we need to investigate.

Comment 4 Jon Jackson 2021-04-15 20:05:35 UTC
*** Bug 1948566 has been marked as a duplicate of this bug. ***

Comment 5 Jon Jackson 2021-04-15 20:09:36 UTC
(In reply to Samuel Padgett from comment #3)
> It's possible bug 1948566 is a duplicate of this issue although we need to
> investigate.

Confirmed duplicate and closed.

Comment 7 Xiyun Zhao 2021-04-19 02:23:41 UTC
This bug has been verified and fixed on payload 4.8.0-0.nightly-2021-04-18-101412

Verify Step:
1. Log into the web UI as admin, navigate to Operator -> OperatorHub page
2. Choose and use '3scale API Management' as a example, click on the name of the operator
3. On the pops up page which called "Show community Operator", click on the 'continue' button
4. Verify if user is able to install the Operator successfully

Result:
4. User is able to open the 'operator detail' panel after click the 'Continue' button on 'show community Operator' pops up page. And operator can be installed successfully after installation action is triggered.

Comment 8 Jon Jackson 2021-04-19 13:47:44 UTC
*** Bug 1950193 has been marked as a duplicate of this bug. ***

Comment 11 errata-xmlrpc 2021-07-27 22:58:59 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 (Moderate: OpenShift Container Platform 4.8.2 bug fix and security update), 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-2021:2438


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