Bug 1517951 - [REGRESSION] Incorrect flash message after adding Customization Template
Summary: [REGRESSION] Incorrect flash message after adding Customization Template
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.9.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.10.0
Assignee: Greg Piatigorski
QA Contact: Dave Johnson
URL:
Whiteboard:
Depends On:
Blocks: 1519983
TreeView+ depends on / blocked
 
Reported: 2017-11-27 18:07 UTC by Leo Khomenko
Modified: 2019-08-06 20:05 UTC (History)
6 users (show)

Fixed In Version: 5.10.0.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1519983 (view as bug list)
Environment:
Last Closed: 2018-06-21 20:52:40 UTC
Category: ---
Cloudforms Team: CFME Core
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Leo Khomenko 2017-11-27 18:07:48 UTC
Description of problem:after https://bugzilla.redhat.com/show_bug.cgi?id=1477037
when one add Customization Template without Description - UI shows 'Customization Template "" was saved'


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


How reproducible:100%


Steps to Reproduce:
1.add Customization Template w/o Desctiption


Actual results: wrong flash message


Expected results: Customization Template "<Name>" was saved

Comment 5 Greg Piatigorski 2017-11-29 22:31:29 UTC
NOTE: Code fix will display either Template Name or Description in action confirmation message depending on whether Template Description exists or not. If no Template Description is available, default to Template Name display. This matches how rest of the application works.

Comment 6 CFME Bot 2017-12-01 16:29:57 UTC
New commit detected on ManageIQ/manageiq-ui-classic/master:
https://github.com/ManageIQ/manageiq-ui-classic/commit/0b0472dbe0ab35bacddb008ae1c2e0901b0de3aa

commit 0b0472dbe0ab35bacddb008ae1c2e0901b0de3aa
Author:     Greg Piatigorski <gpiatigo>
AuthorDate: Wed Nov 29 14:01:28 2017 -0800
Commit:     Greg Piatigorski <gpiatigo>
CommitDate: Thu Nov 30 13:36:20 2017 -0800

    Display Name/Description in confirmation messages for PXE Custom Templates
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1517951

 app/controllers/application_controller.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


Note You need to log in before you can comment on or make changes to this bug.