Bug #14220
closed
rabl error viewing details of a guest host
Added by Thomas McKay almost 9 years ago.
Updated over 6 years ago.
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.
- Bugzilla link set to 1318034
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'
- Status changed from New to Assigned
- Assignee set to Thomas McKay
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/5890 added
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
- Translation missing: en.field_release set to 86
Also available in: Atom
PDF