Bug 2018279

Summary: Edit and Delete confirmation modals for managed resource should close when the managed resource is clicked
Product: OpenShift Container Platform Reporter: Christoph Jerolimov <cjerolim>
Component: Dev ConsoleAssignee: Jaivardhan Kumar <jakumar>
Status: CLOSED ERRATA QA Contact: spathak <spathak>
Severity: low Docs Contact:
Priority: low    
Version: 4.9CC: aos-bugs, msaud, nmukherj
Target Milestone: ---   
Target Release: 4.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-10 16:23:25 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:
Attachments:
Description Flags
modal-doesnt-close.mp4 none

Description Christoph Jerolimov 2021-10-28 17:44:20 UTC
Description of problem:
When the user want to delete a managed resource, for example a Deployment which is created by the "Export Application" operator shows a link to the "managed by" resource.

When this resource is clicked the page redirects behind the modal, but the model doesn't close automatically. A second click doesn't do anything.

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

How reproducible:
Always

Steps to Reproduce:
1. Open Operator Hub and install the "Primer" GitOps Operator
2. Switch to developer perspective
3. Import at least one Application to enable the Export button in topology
4. If not opened yet, open the topology, and click the "Export Application" button
5. Wait until the export finishs and a new Deployment "primer-export-primer" was shown
6. Right click the "primer-export-primer" Deployment in the topology graph and press "Delete Deployment"
7. The confirmation modal shows a warning that this resource is managed. Press the link "(E) primer" in the warning to open this resource.

Actual results:
The resource detail page was opened in the background, but the modal keeps open.

Note: This happens also when the user goes to the Deployment detail page, opens the YAML tab and press save.

Expected results:
Open the resource detail page should be opened and the modal should be close.

Additional info:
None

Comment 1 Christoph Jerolimov 2021-10-28 17:45:46 UTC
Created attachment 1838065 [details]
modal-doesnt-close.mp4

Comment 3 Mohammed Saud 2021-12-17 11:07:03 UTC
Verified on:
Build:   4.10.0-0.ci-2021-12-16-184808
Browser: Firefox 95

Comment 8 errata-xmlrpc 2022-03-10 16:23:25 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.10.3 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-2022:0056