Bug 826249 - Systems by Environment - accessing page generates error
Systems by Environment - accessing page generates error
Status: CLOSED UPSTREAM
Product: Katello
Classification: Community
Component: WebUI (Show other bugs)
1.X
Unspecified Unspecified
unspecified Severity high
: ---
: 1.x
Assigned To: Brad Buckingham
Katello QA List
: Regression, Triaged
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-05-29 16:42 EDT by Brad Buckingham
Modified: 2012-07-17 09:09 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-07-17 09:09:47 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Brad Buckingham 2012-05-29 16:42:19 EDT
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 17:33:00 EDT
katello github - f06ddfc935aaebd2f720e9a1a4a8557b67153fbd
Comment 2 Bryan Kearney 2012-07-17 09:09:47 EDT
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.