Bug 1206729

Summary: Orhestration template : Orchestration template with blank name can be created
Product: Red Hat CloudForms Management Engine Reporter: Shveta <sshveta>
Component: ProvisioningAssignee: Shveta <sshveta>
Status: CLOSED ERRATA QA Contact: Dave Johnson <dajohnso>
Severity: low Docs Contact:
Priority: medium    
Version: 5.4.0CC: hkataria, jhardy, mpovolny, obarenbo
Target Milestone: GA   
Target Release: 5.4.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-16 12:55:59 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:
Embargoed:
Attachments:
Description Flags
blank name
none
blank name required none

Description Shveta 2015-03-27 21:49:14 UTC
Created attachment 1007494 [details]
blank name

Description of problem:


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


How reproducible:


Steps to Reproduce:
1. Create and orchestration template. Edit it. Make the name blank and save 
2.
3.

Actual results:
Template with blank name gets created

Expected results:


Additional info:
5.4.0.0.14.20150325124454_9e339f3

Comment 3 Greg McCullough 2015-03-30 13:39:35 UTC
Looks like we need a 'validates_presence_of' added to the model.

Comment 4 CFME Bot 2015-04-02 22:01:07 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/0187b83e46cf2de081b3ced372679abef6e6e25e

commit 0187b83e46cf2de081b3ced372679abef6e6e25e
Author:     Bill Wei <bilwei>
AuthorDate: Tue Mar 31 09:55:13 2015 -0400
Commit:     Bill Wei <bilwei>
CommitDate: Tue Mar 31 10:04:44 2015 -0400

    validata presence of template name
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1206729

 vmdb/app/models/orchestration_template.rb | 1 +
 1 file changed, 1 insertion(+)

Comment 6 Shveta 2015-04-20 16:51:31 UTC
Created attachment 1016451 [details]
blank name required

Fixed.
Verified in 5.4.0.0.19.20150410165622_ad23806

Comment 8 errata-xmlrpc 2015-06-16 12:55:59 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://rhn.redhat.com/errata/RHBA-2015-1100.html