Bug 796740

Summary: Systems: If no environments created, attempting to create a new system returns unhelpful message
Product: Red Hat Satellite Reporter: Corey Welton <cwelton>
Component: WebUIAssignee: Eric Helms <ehelms>
Status: CLOSED CURRENTRELEASE QA Contact: Katello QA List <katello-qa-list>
Severity: high Docs Contact:
Priority: medium    
Version: 6.0.1CC: cpelland, ehelms, mmccune
Target Milestone: UnspecifiedKeywords: 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 18:29:00 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 Corey Welton 2012-02-23 15:23:03 UTC
Description of problem:
If a user (inadvertently?) tries to create a system wherein there are no environments, katello highlights "Library", and the subsequent attempt to create the system returns an error message that is not immediately clear to user.

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


How reproducible:


Steps to Reproduce:
1.  Assure you are in an org with no environments yet set (i.e., ACME_Corporation after a fresh install)
2.  Systems > +New System
3.  Attempt to create the system, noting that for "Choose Environment", we have "Library" selected.
4. Submit
  
Actual results:
undefined method `response' for #

Expected results:
Should probably tell the user that they need to create environment(s) first.

Additional info:

Comment 2 Corey Welton 2012-03-01 18:55:47 UTC
QA Verified. 0.1.301-2.el6

Comment 4 Mike McCune 2013-08-16 17:57:08 UTC
getting rid of 6.0.0 version since that doesn't exist