Bug 1390283

Summary: Middleware - Datasource deletion - More informative message.
Product: Red Hat CloudForms Management Engine Reporter: Hayk Hovsepyan <hhovsepy>
Component: ProvidersAssignee: Josejulio Martínez <jmartine>
Status: CLOSED CURRENTRELEASE QA Contact: Hayk Hovsepyan <hhovsepy>
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: cpelland, jfrey, jhardy, jmartine, mfoley, mmahoney, obarenbo, simaishi
Target Milestone: GAKeywords: TestOnly, Triaged, ZStream
Target Release: 5.8.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.8.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1396237 (view as bug list) Environment:
Last Closed: 2017-06-12 17:36:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Middleware Target Upstream Version:
Bug Depends On:    
Bug Blocks: 1396237    

Description Hayk Hovsepyan 2016-10-31 15:37:51 UTC
Description of problem:
In current implementation of Datasource deletion from Middleware server, it asks standard confirmation message before deletion. 

Would be better to open much informative dialog box (in CFME dialog box style), with messsage, telling, that Datasource you want to delete can be in use by some applications in server side, and deletion will cause misfunction of that applications.

Comment 3 CFME Bot 2016-11-08 18:36:20 UTC
New commit detected on ManageIQ/manageiq/master:
https://github.com/ManageIQ/manageiq/commit/2c6870ed583e79680209d5b005790021f84d4696

commit 2c6870ed583e79680209d5b005790021f84d4696
Author:     Josejulio Martínez <jmartine>
AuthorDate: Mon Oct 31 14:23:59 2016 -0600
Commit:     Josejulio Martínez <jmartine>
CommitDate: Tue Nov 8 09:32:37 2016 -0600

    Displays a more informative message on datasource deletion.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1390283

 .../application_helper/toolbar/middleware_datasources_center.rb       | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

Comment 5 Hayk Hovsepyan 2017-02-09 16:01:47 UTC
Checked on version 5.8.0.0

The informative message is added only when deleting datasource from list.

Please add the same message for deletion from Datasource details page as well.

Comment 8 Satoe Imaishi 2017-03-06 23:35:51 UTC
PR: https://github.com/ManageIQ/manageiq-ui-classic/pull/353

Comment 9 Hayk Hovsepyan 2017-03-07 09:41:27 UTC
Verified on revision 5.8.0.3.20170301174324_1e2e0c4