Bug 1206675 - Orchestration Catalog Item : Proper validation message required for fields
Summary: Orchestration Catalog Item : Proper validation message required for fields
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.4.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.4.0
Assignee: Shveta
QA Contact: Shveta
URL:
Whiteboard:
: 1211494 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-03-27 17:54 UTC by Shveta
Modified: 2015-06-16 12:55 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-16 12:55:53 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
err (76.19 KB, image/png)
2015-03-27 17:54 UTC, Shveta
no flags Details
validation messages (76.45 KB, image/png)
2015-04-29 21:17 UTC, Shveta
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:1100 0 normal SHIPPED_LIVE CFME 5.4.0 bug fixes, and enhancement update 2015-06-16 16:28:42 UTC

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


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