Bug 726724 - Org and Env validation not working properly
Summary: Org and Env validation not working properly
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: WebUI
Version: 6.0.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium vote
Target Milestone: Unspecified
Assignee: Eric Helms
QA Contact: Katello QA List
URL:
Whiteboard:
: 733101 (view as bug list)
Depends On:
Blocks: katello-blockers
TreeView+ depends on / blocked
 
Reported: 2011-07-29 15:37 UTC by Jeff Weiss
Modified: 2019-09-26 13:18 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-22 17:51:13 UTC
Target Upstream Version:


Attachments (Terms of Use)

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


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