Bug 808715 - unexpected error message appears when trying to create app without an existing domain
Summary: unexpected error message appears when trying to create app without an existin...
Keywords:
Status: CLOSED DUPLICATE of bug 808318
Alias: None
Product: OKD
Classification: Red Hat
Component: oc
Version: 1.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Clayton Coleman
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-31 10:37 UTC by Meng Bo
Modified: 2012-03-31 10:50 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-03-31 10:50:52 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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 ***


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