Project

General

Profile

Actions

Bug #14220

closed

rabl error viewing details of a guest host

Added by Thomas McKay about 8 years ago. Updated over 5 years ago.

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

Description

The subscription facet attempts to include the parent hypervisor name, referring to host.name which errors as not existing.

To reproduce, visit a guest's details page in UI.

Actions #1

Updated by Thomas McKay about 8 years ago

  • Bugzilla link set to 1318034
Actions #2

Updated by Thomas McKay about 8 years ago

2016-03-15T15:40:03 [app] [W] Action failed
 | NoMethodError: undefined method `name' for #<Katello::Host::SubscriptionFacet:0x007f8663e58e40>
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activemodel-4.1.14.2/lib/active_model/attribute_methods.rb:435:in `method_missing'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/activerecord-4.1.14.2/lib/active_record/attribute_methods.rb:213:in `method_missing'
 | /home/vagrant/code/katello/app/views/katello/api/v2/subscription_facet/show.json.rabl:12:in `block (2 levels) in eval_source'
 | /home/vagrant/.rvm/gems/ruby-2.2.4/gems/rabl-0.12.0/lib/rabl/builder.rb:152:in `call'
Actions #3

Updated by Thomas McKay about 8 years ago

  • Status changed from New to Assigned
  • Assignee set to Thomas McKay
Actions #4

Updated by The Foreman Bot about 8 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/5890 added
Actions #5

Updated by Thomas McKay about 8 years ago

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

Updated by Eric Helms about 8 years ago

  • translation missing: en.field_release set to 86
Actions

Also available in: Atom PDF