Bug 1206675

Summary: Orchestration Catalog Item : Proper validation message required for fields
Product: Red Hat CloudForms Management Engine Reporter: Shveta <sshveta>
Component: UI - OPSAssignee: Shveta <sshveta>
Status: CLOSED ERRATA QA Contact: Shveta <sshveta>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.4.0CC: akarol, 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:53 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
err
none
validation messages none

Description Shveta 2015-03-27 17:54:01 UTC
Created attachment 1007410 [details]
err

Description of problem:


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


How reproducible:


Steps to Reproduce:
1. Create a catalog item for orchestration type
2. Order that item
3. Fill stack name only and Submit . Error message is shown instead of validation message for fields

Actual results:


Expected results:Validation message should be shown for password and user fields


Additional info:
5.4.0.0.14.20150325124454_9e339f3

Comment 2 Milan Zázrivec 2015-04-10 14:09:52 UTC
https://github.com/ManageIQ/manageiq/pull/2582

Comment 3 CFME Bot 2015-04-14 17:37:04 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/2b44e891e05c13b4cb819c5a9e3e016c7dfb3013

commit 2b44e891e05c13b4cb819c5a9e3e016c7dfb3013
Author:     Milan Zazrivec <mzazrivec>
AuthorDate: Fri Apr 10 16:04:39 2015 +0200
Commit:     Milan Zazrivec <mzazrivec>
CommitDate: Mon Apr 13 11:51:38 2015 +0200

    Proper error message in case the value is required and happens to be blank / nil
    
    We need to filter out cases when the dialog field value is required
    and happens to be blank / nil, before we proceed with value.match
    (which would throw an undefined method exception).
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1206675

 vmdb/app/models/dialog_field_text_box.rb       | 3 ++-
 vmdb/spec/models/dialog_field_text_box_spec.rb | 6 ++++++
 2 files changed, 8 insertions(+), 1 deletion(-)

Comment 4 Milan Zázrivec 2015-04-17 06:08:38 UTC
*** Bug 1211494 has been marked as a duplicate of this bug. ***

Comment 6 Shveta 2015-04-29 21:17:59 UTC
Created attachment 1020336 [details]
validation messages

Fixed in 5.4.0.0.22.20150420163946_26004d1

Comment 8 errata-xmlrpc 2015-06-16 12:55:53 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