Bug 808715

Summary: unexpected error message appears when trying to create app without an existing domain
Product: OKD Reporter: Meng Bo <bmeng>
Component: ocAssignee: Clayton Coleman <ccoleman>
Status: CLOSED DUPLICATE QA Contact: libra bugs <libra-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 1.x   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-31 10:50:52 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:

Description Meng Bo 2012-03-31 10:37:05 UTC
Description of problem:
create app without an existing domain will get the following error info:
/usr/lib/ruby/gems/1.8/gems/rhc-0.89.10/lib/rhc-common.rb:384:in `create_app': undefined method `[]' for nil:NilClass (NoMethodError)
	from /usr/lib/ruby/gems/1.8/gems/rhc-0.89.10/bin/rhc-app:231:in `create_app'
	from /usr/lib/ruby/gems/1.8/gems/rhc-0.89.10/bin/rhc-app:565
	from /usr/bin/rhc-app:19:in `load'
	from /usr/bin/rhc-app:19


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

How reproducible:
always

Steps to Reproduce:
1.register an new user 
2.try to create app without create domain
3.
  
Actual results:
unexpected error message appears

Expected results:
should have meaningful warning message tell user that domain is required.

Additional info:

Comment 1 Meng Bo 2012-03-31 10:50:52 UTC

*** This bug has been marked as a duplicate of bug 808318 ***