Bug 726724

Summary: Org and Env validation not working properly
Product: Red Hat Satellite Reporter: Jeff Weiss <jweiss>
Component: WebUIAssignee: Eric Helms <ehelms>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.1CC: cwelton, dajohnso, ehelms, gstoecke, mmccune
Target Milestone: UnspecifiedKeywords: Regression, TestBlocker, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-08-22 17:51:13 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 747354    

Description Jeff Weiss 2011-07-29 15:37:21 UTC
Description of problem:


Version-Release number of selected component (if applicable):
katello-0.1.54-1.git.99.3551d25.fc14.noarch

How reproducible:


Steps to Reproduce:
1. Go to create an org, do not fill in any of the form items (name blank, etc).
2. Click Save
3. 
  
Actual results:
undefined

    Cp key can't be blank
    Name can't be blank
    Name must contain at least 3 characters

Expected results:
Validation Failed:

    Name can't be blank

Additional info:

I'm flexible on the validation message, but the important points is replacing "undefined" with validation failure, and "cp key can't be blank" does not relate to the UI at all and should not be shown.

Comment 1 Jeff Weiss 2011-07-29 18:34:54 UTC
Same problem occurs when creating environments that are invalid.

Comment 2 Jeff Weiss 2011-08-11 20:09:50 UTC
Same problem also occurs with change sets.

Comment 3 Eric Helms 2011-08-24 18:27:18 UTC
commit 0c9e38c28c7d338bec844e3dd8b943bb697744c9

Fixes the issue with "undefined" showing up in validation errors so that "Validation Errors:" will show up at the top of the bullets as it did previously.

Comment 4 Mike McCune 2011-08-24 19:09:04 UTC
*** Bug 733101 has been marked as a duplicate of this bug. ***

Comment 5 Jeff Weiss 2011-09-19 19:31:40 UTC
Verified, katello-0.1.82-1.git.36.3cfca56.fc14.noarch

Comment 9 Mike McCune 2013-08-16 18:08:42 UTC
getting rid of 6.0.0 version since that doesn't exist