Bug 782107

Summary: Validation error prevents account from setting first namespace
Product: OKD Reporter: Clayton Coleman <ccoleman>
Component: WebsiteAssignee: Alex Boone <aboone>
Status: CLOSED WORKSFORME QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 2.xCC: junpark
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-02-06 14:51:51 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Clayton Coleman 2012-01-16 14:50:01 UTC
Description of problem:
When I attempt to save a namespace for ccoleman (which has no namespace set yet) I get an "undefined method `index' for nil:NilClass" Rails error.  It was related to something in my session (logging out and in fixed the problem).  I believe that my first attempt to create the namespace was to a domain that was already in use or had an error

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

How reproducible:
Always

Steps to Reproduce:
1. Create new account
2. Attempt to set namespace to something that already exists or has invalid characters
2a. ??? not sure
3. Attempt to create the namespace to something valid
  
Actual results:
Receive a validation error for "undefined method `index' for nil:NilClass" from Rails each time

Expected results:
Able to set namespace after error

Additional info:
Logging out and in fixed the problem.

Comment 1 Clayton Coleman 2012-02-06 14:51:51 UTC
Can't recreate