Bug 1486615

Summary: Inconsistency between customization template name and description while deletion
Product: Red Hat CloudForms Management Engine Reporter: Yadnyawalk Tale <ytale>
Component: UI - OPSAssignee: Greg Piatigorski <gpiatigo>
Status: CLOSED CURRENTRELEASE QA Contact: Yadnyawalk Tale <ytale>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.8.0CC: hkataria, jhardy, mpovolny, obarenbo, simaishi, smallamp
Target Milestone: GAKeywords: TestOnly
Target Release: 5.10.0Flags: ytale: automate_bug-
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ui:infra:flash_msg
Fixed In Version: 5.10.0.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1513607 1515407 (view as bug list) Environment:
Last Closed: 2018-06-21 21:16:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1513607, 1515407    

Comment 3 Greg Piatigorski 2017-11-09 20:55:37 UTC
NOTE: User created names could be rather cryptic at times, main reason description field may be a better way to track objects, not just Customization templates. Code uses common method of setting text for flash messages and if object description is available, then it will be displayed. Not just for Customization Templates, but elsewhere in the application. Going forward with this code fix as well as in some other similar BZ tickets we will see object description, rather than name, in messages, for all actions on objects, Add, Edit, Cancel and Delete.  If object description is not available, then object name will be displayed for all actions instead.  

Other, similar BZ tickets, will be fixed using same business rule.

Comment 4 CFME Bot 2017-11-14 22:43:31 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/e222770eb141bfbbbceb08e192bcdc35a5f695b8

commit e222770eb141bfbbbceb08e192bcdc35a5f695b8
Author:     Greg Piatigorski <gpiatigo>
AuthorDate: Mon Oct 30 15:05:44 2017 -0700
Commit:     Greg Piatigorski <gpiatigo>
CommitDate: Wed Nov 8 11:58:14 2017 -0800

    Fix flash message to display Record Name instead of Description for DELETE actions
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1486615

 app/controllers/pxe_controller/pxe_customization_templates.rb | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)