Bug 1449116

Summary: Duplicate Customization Template name doesn't show flash error message
Product: Red Hat CloudForms Management Engine Reporter: Niyaz Akhtar Ansari <nansari>
Component: AutomateAssignee: drew uhlmann <duhlmann>
Status: CLOSED CURRENTRELEASE QA Contact: Niyaz Akhtar Ansari <nansari>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.8.0CC: dajohnso, gmccullo, hkataria, jhardy, lkhomenk, mkanoor, mpovolny, obarenbo, psavage, simaishi, tfitzger
Target Milestone: GAKeywords: TestOnly, ZStream
Target Release: 5.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: ui:flash_msg:validation
Fixed In Version: 5.9.0.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1518368 (view as bug list) Environment:
Last Closed: 2018-03-06 14:53:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1518368    
Attachments:
Description Flags
screenshot none

Description Niyaz Akhtar Ansari 2017-05-09 09:11:20 UTC
Created attachment 1277337 [details]
screenshot

Description of problem:


Version-Release number of selected component (if applicable):
Version 5.8.0.13-rc2.20170502165848_0f98658 

How reproducible:
100%

Steps to Reproduce:
1.Navigate to Compute->Infrastructure->PXE
2.Go to Customization Templates accordion 
3.From Configuration button Add a New Customization Template
4.Add another Customization Template with the same name

Actual results:


Expected results:
The UI should display the "Name has already been taken" flash error message.

Additional info:

Comment 2 Greg McCullough 2017-07-06 12:35:59 UTC
This change validates the name uniqueness within each pxe_image_type.

PR https://github.com/ManageIQ/manageiq/pull/15495

Comment 3 Greg McCullough 2017-08-01 14:25:18 UTC
*** Bug 1450927 has been marked as a duplicate of this bug. ***

Comment 4 Niyaz Akhtar Ansari 2017-10-24 09:04:12 UTC
Verified in Version 5.9.0.2.20171010190026_0413a06

Comment 6 Greg McCullough 2017-11-22 11:03:49 UTC
Added cfme-5.8.z flag

Comment 7 Leo Khomenko 2017-11-23 15:34:16 UTC
5.7.4.1 also needs this fix