Bug 1017399

Summary: System list returns error
Product: Red Hat Satellite Reporter: Justin Sherrill <jsherril>
Component: WebUIAssignee: Justin Sherrill <jsherril>
Status: CLOSED CURRENTRELEASE QA Contact: Kedar Bidarkar <kbidarka>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.0.2CC: jmontleo, kbidarka, mmccune, omaciel
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: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Justin Sherrill 2013-10-09 19:30:08 UTC
Description of problem:

Within katello nightly go to Systems and wait for the list to load

It will return an error

How reproducible:
always

Steps to Reproduce:
1. Register one system
2. Go to Systems

Actual results:
No systems and an error


Expected results:
no error and a system


Additional info:

relevant traceback:

[ERROR 2013-10-09 15:28:13 app] NoMethodError: undefined method `to_a' for false:FalseClass
 | /home/jlsherri/.rvm/gems/ruby-1.9.3-p374@katello/gems/rabl-0.7.6/lib/rabl/engine.rb:138:in `collection'
 | /home/jlsherri/git/katello/app/views/api/v2/common/index.json.rabl:1:in `render'
 | /home/jlsherri/.rvm/gems/ruby-1.9.3-p374@katello/gems/rabl-0.7.6/lib/rabl/engine.rb:32:in `instance_eval'
 | /home/jlsherri/.rvm/gems/ruby-1.9.3-p374@katello/gems/rabl-0.7.6/lib/rabl/engine.rb:32:in `render'
 | /home/jlsherri/.rvm/gems/ruby-1.9.3-p374@katello/gems/rabl-0.7.6/lib/rabl/partials.rb:27:in `object_to_hash'
 | /home/jlsherri/.rvm/gems/ruby-1.9.3-p374@katello/gems/rabl-0.7.6/lib/rabl/partials.rb:14:in `partial'
 | /home/jlsherri/.rvm/gems/ruby-1.9.3-p374@katello/gems/rabl-0.7.6/lib/rabl/builder.rb:112:in `extends'
 | /home/jlsherri/.rvm/g

Comment 1 Justin Sherrill 2013-10-09 19:32:56 UTC
https://github.com/Katello/katello/pull/3149

Comment 4 Kedar Bidarkar 2013-10-10 16:42:00 UTC
*** Bug 1017872 has been marked as a duplicate of this bug. ***

Comment 5 Og Maciel 2013-10-10 16:57:25 UTC
FWIW also seeing it when browsing Products /katello/products#/products

Comment 7 Kedar Bidarkar 2013-10-16 11:33:58 UTC
Registered systems via cli are now visible via the web-UI.

Comment 8 Bryan Kearney 2014-04-24 17:11:16 UTC
This was verified and delivered with MDP2. Closing it out.

Comment 9 Bryan Kearney 2014-04-24 17:12:13 UTC
This was delivered and verified with MDP2. Closing the bug.