Project

General

Profile

Actions

Bug #10308

closed

Attempting to display the content hosts that have the errata in their life cycle environment failed

Added by Walden Raines about 9 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web UI
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1216200
Description of problem:
Attempting to display the content hosts that have the errata in their life cycle environment failed

Version-Release number of selected component (if applicable):
Satellite-6.1.0-RHEL-6-20150424.0

How reproducible:
Always

Steps to Reproduce:
1. Go to Content -> Errata
2. Select an errata which is installable in atleast 2 content hosts
3. Click 'Apply Errata'
4. Check the check box which says "Only show content hosts where $errata is currently installable in the host's Lifecycle Environment."

Actual results:
The UI never loads (screenshot attached). I saw this error in foreman/production.log
2015-04-28 14:00:39 [I] Parameters: {"erratum_id"=>"812b13a6-82a2-46e7-ab10-5e752048f653", "organization_id"=>"1", "page"=>1, "search"=>"", "erratum_restrict_installable"=>false, "fields"=>"full", "api_version"=>"v2", "system"=>{}}
2015-04-28 14:00:39 [E] NoMethodError: undefined method `to_bool' for false:FalseClass
/opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.37/app/controllers/katello/api/v2/systems_controller.rb:391:in `systems_by_errata'
/opt/rh/ruby193/root/usr/share/gems/gems/katello-2.2.0.37/app/controllers/katello/api/v2/systems_controller.rb:75:in `index'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/abstract_controller/base.rb:167:in `process_action'
/opt/rh/ruby193/root/usr/share/gems/gems/actionpack-3.2.8/lib/action_controller/metal/rendering.rb:10:in `process_action'

Expected results:
Page loads without error

Additional info:

Actions #1

Updated by The Foreman Bot about 9 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/5198 added
  • Pull request deleted ()
Actions #2

Updated by Eric Helms about 9 years ago

  • translation missing: en.field_release set to 31
  • Triaged changed from No to Yes
Actions #3

Updated by Walden Raines almost 9 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF