Bug 1744478

Summary: [RFE] Custom button: generic class level button deletion not showing a specific flash message
Product: Red Hat CloudForms Management Engine Reporter: Nikhil Dhandre <ndhandre>
Component: UI - OPSAssignee: Zita Nemeckova <znemecko>
Status: CLOSED NOTABUG QA Contact: Nikhil Dhandre <ndhandre>
Severity: medium Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: medium    
Version: 5.10.9CC: bmidwood, dmetzger, hkataria, lavenel, mpovolny, obarenbo, znemecko
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.12.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1773666 (view as bug list) Environment:
Last Closed: 2020-03-20 15:42:03 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Feature
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1773666    

Description Nikhil Dhandre 2019-08-22 09:20:33 UTC
Description of problem:
-----------------------
Delete operation for `Button` and `Button group` on generic object definition level not showing specific flash message.


Version-Release number of selected component (if applicable):
-------------------------------------------------------------
5.10 and 5.11 (latest)


How reproducible:
-----------------
always


Steps to Reproduce:
-------------------
1. Create generic object definition class
2. Create a custom button either in the group or undefined custom button on definition class
3. delete operation for all buttons/group one by one check flash


Actual results:
---------------
It showing a message like "Button:"undefined" was successfully deleted"


Expected results:
----------------
It should show a message like 'Button:"{button name}" was successfully deleted'


Additional info:

Comment 5 CFME Bot 2019-09-30 06:21:09 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:

https://github.com/ManageIQ/manageiq-ui-classic/commit/7be7595d7c0da12299aeeb16226f2502ed82dd5e
commit 7be7595d7c0da12299aeeb16226f2502ed82dd5e
Author:     Zita Nemeckova <znemecko>
AuthorDate: Thu Sep 19 08:16:22 2019 -0400
Commit:     Zita Nemeckova <znemecko>
CommitDate: Thu Sep 19 08:16:22 2019 -0400

    Fix missing name of deleted GOD Button/ButtonGroup

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1744478
    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1753289

 app/assets/javascripts/components/generic_object/generic-object-definition-toolbar.js | 4 +-
 1 file changed, 2 insertions(+), 2 deletions(-)