Actions
Bug #14220
closedrabl error viewing details of a guest host
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.
Updated by Thomas McKay over 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'
Updated by Thomas McKay over 8 years ago
- Status changed from New to Assigned
- Assignee set to Thomas McKay
Updated by The Foreman Bot over 8 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/5890 added
Updated by Thomas McKay over 8 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|e4dbe15efaafc2304cdf31641792cb86ef052142.
Updated by Eric Helms over 8 years ago
- Translation missing: en.field_release set to 86
Actions