Bug 826249 - Systems by Environment - accessing page generates error
Summary: Systems by Environment - accessing page generates error
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Katello
Classification: Retired
Component: WebUI
Version: 1.X
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 1.x
Assignee: Brad Buckingham
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-05-29 20:42 UTC by Brad Buckingham
Modified: 2012-07-17 13:09 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-07-17 13:09:47 UTC
Embargoed:


Attachments (Terms of Use)

Description Brad Buckingham 2012-05-29 20:42:19 UTC
Description of problem:
Attempting to access the Systems by Environment generates an error.  Based on the log, this is related to the bulk actions for assigning system groups.

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

How reproducible:
always

Steps to Reproduce:
1. go to Systems -> By Environment
  
Actual results:
error:
    You have a nil object when you didn't expect it! You might have expected an instance of Array. The error occurred while evaluating nil.map

top of stack:

You have a nil object when you didn't expect it!
You might have expected an You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.map
You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.map
#<NoMethodError: You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.map>
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.10/lib/action_view/helpers/form_options_helper.rb:340:in `options_from_collection_for_select'
/home/bbucking/github/katello/src/app/views/systems/_actions.html.haml:75:in `_app_views_systems__actions_html_haml__1538536810_70058476854740_1358910'
instance of Array.
The error occurred while evaluating nil.map
You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.map
#<NoMethodError: You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.map>
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.10/lib/action_view/helpers/form_options_helper.rb:340:in `options_from_collection_for_select'
/home/bbucking/github/katello/src/app/views/systems/_actions.html.haml:75:in `_app_views_systems__actions_html_haml__1538536810_70058476854740_1358910'


Expected results:
no error, page rendered properly

Additional info:

Comment 1 Brad Buckingham 2012-05-29 21:33:00 UTC
katello github - f06ddfc935aaebd2f720e9a1a4a8557b67153fbd

Comment 2 Bryan Kearney 2012-07-17 13:09:47 UTC
Moving all community bugs with fixes to closed.


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