Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1921774

Summary: delete application modal errors when a resource cannot be found
Product: OpenShift Container Platform Reporter: Debsmita Santra <dsantra>
Component: Dev ConsoleAssignee: Debsmita Santra <dsantra>
Status: CLOSED ERRATA QA Contact: Gajanan More <gamore>
Severity: low Docs Contact:
Priority: medium    
Version: 4.7CC: aos-bugs, ariroy, nmukherj
Target Milestone: ---   
Target Release: 4.7.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 1925037 (view as bug list) Environment:
Last Closed: 2021-02-24 15:57:05 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:
Bug Depends On:    
Bug Blocks: 1925037    

Description Debsmita Santra 2021-01-28 15:25:11 UTC
Description of problem:
When trying to delete an application, if we cannot delete a resource because it does not exist, the dialog displays an error. Since the resource doesn't exist, it should be ignored.

The error looks superficial since the deployment was deleted.

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


How reproducible:
Always

Steps to Reproduce:
1. import from git any repo; ensure you enter an application name
2. navigate to topology and select the newly created deployment
3. in the side bar, go to Resources tab
4. select the `Service`
5. delete the Service
6. go back to topology
7. right click on the application and select delete application
8. complete the dialog

Actual results:
resource not found error

Expected results:
Application and its related resources should be deleted and the modal should close.

Additional info:

Comment 2 Aritra Roy 2021-02-03 06:15:13 UTC
verified on

build: 4.7.0-0.nightly-2021-02-02-223803

browser: 84.0.1 (64-bit)

Comment 5 errata-xmlrpc 2021-02-24 15:57:05 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.7.0 security, bug fix, and enhancement 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-2020:5633