Bug 1274024

Summary: Able to create job templates with duplicate names
Product: Red Hat Satellite 6 Reporter: jcallaha
Component: Remote ExecutionAssignee: Ivan Necas <inecas>
Status: CLOSED ERRATA QA Contact: jcallaha
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: bbuckingham, mhulan
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/13218
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 09:20:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Duplicate names none

Description jcallaha 2015-10-21 18:17:09 UTC
Created attachment 1085262 [details]
Duplicate names

Description of problem:
You are currently able to create a job template with the same name as another.

How reproducible:
Always

Steps to Reproduce:
1. Create two job templates 
2. Alternatively, clone an existing template and save without changing the name.

Actual results:
Job template successfully created

Expected results:
Job template is rejected due to the name being already used.

Comment 3 jcallaha 2016-03-17 14:34:38 UTC
Verified in Satellite 6.2 Beta Snap 4. Field validation now catches that the name has already been taken, regardless of the job category.

Comment 6 errata-xmlrpc 2016-07-27 09:20:00 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1501