Bug 1612137

Summary: Incorrect flash message appears at the CFME during deleting a Network Router
Product: Red Hat CloudForms Management Engine Reporter: Danylo Kholodov <dkholodo>
Component: UI - OPSAssignee: Karel Hala <khala>
Status: CLOSED CURRENTRELEASE QA Contact: Danylo Kholodov <dkholodo>
Severity: low Docs Contact:
Priority: low    
Version: 5.10.0CC: dmetzger, hkataria, lavenel, maufart, mpovolny, obarenbo, simaishi
Target Milestone: GAKeywords: Regression
Target Release: 5.10.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.10.0.14 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-02-12 16:51:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: Openstack Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Incorrect Flash message none

Description Danylo Kholodov 2018-08-03 14:42:42 UTC
Created attachment 1473024 [details]
Incorrect Flash message

Description of problem:
Incorrect flash message appears at the CFME during deleting a Network Router

Version-Release number of selected component (if applicable):
CFME 5.10.0.6 on top of OSP 13 (and OSP 10 too)

How reproducible:
Always

Steps to Reproduce:
1. Go to Networks > Network Routers
2. Configuration > Add a new router
3. Select cloud provider for a "Network Manager" field
4. Enter a name for a "Router Name" field
5. Select Cloud Tenant
6. Click add
7. Flash message is appeared: "Network Router "<name_of_the_router>" created"
8. Refresh the page until a new router appears
9. Click at the created router 
10. Configuration -> Delete this router

Actual results:
Flash message appears: "Deleting Network Router id:1000000000004 name: 'BNSuUITgrd'"

Expected results:
Flash message should be another: "Delete initiated for 1 Network Router."

Comment 5 CFME Bot 2018-08-27 14:22:32 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/a0fc965edbb4bbb22f955ac162fba37263149865
commit a0fc965edbb4bbb22f955ac162fba37263149865
Author:     Karel Hala <khala>
AuthorDate: Wed Aug  8 10:20:49 2018 -0400
Commit:     Karel Hala <khala>
CommitDate: Wed Aug  8 10:20:49 2018 -0400

    Change messages for delete actions on toolbar
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1612137

 app/helpers/application_helper/toolbar/network_router_center.rb | 16 +-
 app/helpers/application_helper/toolbar/network_routers_center.rb | 16 +-
 app/javascript/tests/toolbar-actions-delete.test.js | 13 +-
 app/javascript/toolbar-actions/delete.js | 35 +-
 4 files changed, 46 insertions(+), 34 deletions(-)

Comment 6 Danylo Kholodov 2018-09-03 12:55:45 UTC
Verified on CFME 5.10.0.14