Bug 1436243

Summary: UI: Advanced Search - Canceling delete on saved filter delete confirmation dialog deletes the filter
Product: Red Hat CloudForms Management Engine Reporter: Sunil Kondkar <skondkar>
Component: UI - OPSAssignee: Hilda Stastna <hstastna>
Status: CLOSED CURRENTRELEASE QA Contact: Sunil Kondkar <skondkar>
Severity: medium Docs Contact:
Priority: high    
Version: 5.8.0CC: cpelland, hkataria, jhardy, mmahoney, mpovolny, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly, Triaged
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1439946 (view as bug list) Environment:
Last Closed: 2018-03-06 15:53:12 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: 1439946    

Description Sunil Kondkar 2017-03-27 13:41:39 UTC
Description of problem:

Clicking on 'Delete' button of a saved filter shows a confirmation dialog. If user clicks Cancel button on the confirmation dialog, the saved filter is deleted with success message.

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

Version 5.8.0.7.20170321164727_1c97ccd 

How reproducible:

Always

Steps to Reproduce:

1. Navigate to the Providers (Tried Middleware, network and cloud provider)
2. Click on advanced search, 
3. Specify some random conditions as a filter and then save the filter.
4. Click on Delete button.
5. Click on 'Cancel' button on the delete confirmation dialog
6. Observe that it shows a delete success message.

Actual results:

Canceling delete on delete confirmation dialog deletes the filter.

Expected results:

The saved filter delete should be canceled.

Additional info:

Comment 3 Hilda Stastna 2017-04-04 15:41:40 UTC
fixing https://github.com/ManageIQ/manageiq-ui-classic/pull/918

Comment 5 Sunil Kondkar 2017-10-24 07:53:18 UTC
Verified on 5.9.0.2.20171010190026_0413a06

Verified that filter is not deleted if 'Cancel' is pressed on delete confirmation pop up.